I have a linux server with a single IP bound to it. I want to host multiple Node.js sites on this server on this IP, each (obviously) with a unique domain or subdomain. I wa
Literally, when you get the request and response object, you can get the domain through "request.headers.host"... (not the IP address, actually the domain).