> My question would be : How can I setup Glassfish to serve to different
> IPs (www.myDomain.com and subDomain.myDomain.com) on port 80, on the
> same machine but with two different virtual servers.
Create 2 virtual servers. Set the "hosts" attribute of one to "www.myDomain.com", and the "hosts" attribute of the other to "subDomain.myDomain.com".
Set the "http-listeners" attribute of each of the new virtual servers to the http-listener that's serving port 80.
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=286494