users@glassfish.java.net

Re: Another thread on virtual servers

From: Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org>
Date: Thu, 31 Jul 2008 22:51:16 +0200

This is definitely the correct forum.

Jan Luehe posted about virtual servers on his Blog:
http://blogs.sun.com/jluehe/entry/virtual_hosting_features_in_glassfish

His approach uses also different http-listener for each virtual server.

Shameless plug: I have also blogged about how to achieve this using the
asadmin command - though I use the same listener for all virtual servers:
http://weblogs.java.net/blog/writtmeyer/archive/2008/02/virtual_servers.html


--
Wolfram Rittmeyer
glassfish_at_javadesktop.org wrote:
> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> 
>