Current time: 08-18-2017, 05:42 AM Hello There, Guest! (LoginRegister)

Post Reply 
How to get Nodejs to run on port 80
02-06-2017, 03:52 PM
Post: #1
How to get Nodejs to run on port 80
I got a VPS on Dreamhost and have create a Nodejs application however, since I do not have sudo access on the VPS I can't use port 80 and therefore had to create a proxy in my .htaccess file that redirected the user to port 3000.

Now in the URL there is an ugly port 3000.

How can I get nodejs to run on port 80?
Find all posts by this user
Quote this message in a reply
02-07-2017, 12:02 PM
Post: #2
RE: How to get Nodejs to run on port 80
You should be able to setup a proxy pass using DreamHost's panel. On https://panel.dreamhost.com/index.cgi?tr...ain.proxy& ignore the 'mongrel' part and focus on the proxy: you should pick the domain name you have your node app running, and put the port 3000 in the form below.

I noticed that the help page has a warning for 'unsupported information': https://help.dreamhost.com/hc/en-us/arti...oxy-Server
If those instructions work for you, could you please let me know? In exchange on improved documentation, DreamHost will refund your bill for next month (up to $100). See the details on https://www.dreamhost.com/blog/2016/08/1...knowledge/ (even if the post is mostly about cloud, I can extend that to your case.)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: