How do I create an HTTP server with Node.js on a DreamHost VPS running Apache? -


i've installed node.js on dreamhost vps (basically virtual machine), vps hosts lot of other websites using apache. how can bind http listener specific domain using node.js, when visit "mynodejsdomain.com", responses node.js code, when visit "myotherdomain.com", responses apache/php?

turns out needed tell apache forward requests domain, , dreamhost provides nice frontend mod_proxy:

http://wiki.dreamhost.com/proxy_server

thanks, codecaster!


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -