Is it possible to create a single http server in node.js that will accept connections on multiple host names? For example: I have a number of subdomains (x1.domain.com, x2.domain.com, ... xn.domain.com) associated with an IP address, and I want the node.js program to accept connections only on x1 .domain.com and x2.domain.com.
yojimbo87
source share