users@glassfish.java.net

Re: Virtual Hosting

From: Dick Davies <rasputnik_at_gmail.com>
Date: Thu, 20 Sep 2007 09:55:27 +0100

On 20/09/2007, Jan.Luehe_at_sun.com <Jan.Luehe_at_sun.com> wrote:
> Hi Kem,
>
> Kem Elbrader wrote:
>
> >I want all request to *.somedomain.com to default to a particular web
> >module where the * can be anything such as 'www' or 'admin'. Is this
> >possible. If so how would I go about setting it up?
> >
> >
>
> unfortunately, GlassFish does not support wildcards in host (domain)
> names.

Sounds like name-based virtual hosting is out.
But wouldn't this work if you had an IP-based glassfish host e.g. www.domain.com
and then setup the wildcard in DNS
(so *.domain.com is a CNAME to www.domain.com)?

-- 
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/