users@glassfish.java.net

Re: Another thread on virtual servers

From: <glassfish_at_javadesktop.org>
Date: Thu, 31 Jul 2008 14:42:10 PDT

You can't send somenone to another port. By entering www.abc.com the user says he wants port 80. You must do the following:

If you have only one IP address, you will use one http listener and two virtual servers. Virtual servers will be identified by their host-names. One virtual server will accept requests for host www.abc.com and the other server www.def.com. Default web module for server www.abc.com must be webapp1 and www.def.com must be webapp2.
[Message sent by forum member 'bilgehan' (bilgehan)]

http://forums.java.net/jive/thread.jspa?messageID=290783