users@glassfish.java.net

Another thread on virtual servers

From: <glassfish_at_javadesktop.org>
Date: Thu, 31 Jul 2008 13:43:33 PDT

I'm not sure if this is the right forum for this (it could be a network question), but here's the scenario:

We have a registered domain name, and have changed their MX record to point the domain to our web server. The glassfish V2 server is currently hosting the web site just fine and everything is good.

What we want to do is redirect another domain to this server and have it host that site as well. The problem is that I can't figure out how to tell Glassfish how to interpret someone trying to reach www.abc.com from www.def.com and to throw them to the appropriate webapp.

I have tried reading this:

http://docs.sun.com/app/docs/doc/819-3671/ablsw?a=view

and it helped a little, but it seems incomplete. Any straight-forward guides out there to making www.abc.com point to 172.1.1.1/WebAppA and www.def.com point to 172.1.1.1/WebAppB?


I'll apologize in advance if this is posted elsewhere, just please point me to it, as I couldn't find it myself.
[Message sent by forum member 'malakh' (malakh)]

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