How to serve my content with nodejs vm on google c

2019-08-10 07:48发布

I created a nodejs virtual machine instance on google cloud (compute engine). I also created 3 mongodb instances on the compute engine. Now I pushed my local application to the google cloud repository. How do I link the app.js file to this server so it starts running the script and serving the files. I already changed the A record of my domain that I registered with godaddy so it's external ip is the same as that of the nodejs server I am running but all I am getting is this page. enter image description here

1条回答
Emotional °昔
2楼-- · 2019-08-10 08:25

Bitnami developer here.

You need to copy your files to the remote repository, create the configuration files and after that you have to include that configuration in the configuration of Apache to serve the application. It looks like you have done most of the work, but there may be an error in one of the steps. This guide will help you to configure your application in order to access it properly.

https://wiki.bitnami.com/Applications/Bitnami_Custom_Node.js_Application

I hope it helps.

Jota

查看更多
登录 后发表回答