I started a bitnami node server instance on the google compute engine. I uploaded my application files to the vm using filezilla. My application is located at
/home/bitnami/Rockstar22
I have an app.js file in there, that's my node server file. I connect to a mongodb instance (in another instance in the same project) using mongoose. When I ssh into my instance and cd into this directory, I execute the following command, just as I would locally
node app.js
and it displays two console logs (for my confirmation that it's running)
connected to monog...
Listening on port 3000....
now I already bought a domain on goDaddy and I set the A record to the external IP of my instance but it's not serving the pages I want it to. Instead it's serving the default page.
Is there some configuration with apache that I need to perform to make it serve my application pages? After about 10 minutes though, it starts displaying this error