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
Post a Comment