Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install a node.js server at chat.mydomain.com on a hostgator vps hosting?

Tags:

linux

node.js

vps

I have a hostgator VPS hosting account.

I already have a site at my main domain, say mydomain.com

now i want to install node.js server for chat.mydomain.com.

i need some help installing the node.js server.

what i m looking for is, How to setup the node.js server? - I can download and install the node v 0.4.6 but how to make it listen to a port say chat.mydomain.com:8088 like apache? That is install the "node" as a service and listen to port 8088 like apache listens to port 80?

Thanks,
Anjan

like image 675
anjan Avatar asked Apr 21 '11 10:04

anjan


1 Answers

All you need to is to open up a port to listen to requests e.g. if you want to run Node on 8088 and then access it with chat.mydomain.com.

According to their support, you need to contact them to open up 8088 for you > http://support.hostgator.com/articles/pre-sales-policies/open-new-ports

like image 113
neebz Avatar answered Oct 01 '22 02:10

neebz