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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -