Tuesday, 21 April 2020

Running Node.Js on private server with domain name

This is going to be a stupid question but I am missing something and I am a bit new to this, the online class I took only explained how to do this on shared hosting sites but I have my own server now so I'm not sure what to do.I have a node app.js file using express with a few .get in it and I have it configured to port 3000 on my domain name.Everything works as expected, if I go to:domain.com:3000/test I get what I want same with domain.com:3000/hello but what if I want it to run without the port so domain.com/test ?I have on a VPS at godaddy and I have root access.Thank You!!

Submitted April 22, 2020 at 03:42AM by multicm

No comments:

Post a Comment