users@glassfish.java.net

Re: subdomain in glassfish

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Wed, 17 Mar 2010 17:05:09 -0700

glassfish_at_javadesktop.org wrote:
> Hi
>
> I want to set up a virtual server for subdomain
>
> my domain is redirected from
> pradyut.dyndns.org
>
> to pradyut.dyndns.org/WebApplicationSecurity
>
> using a virtual server whose default web module is
> WebApplicationSecurity
> I have used the string "${com.sun.aas.hostName},pradyut.dyndns.org"
> in the hosts of the virtual server
>
> now to the question
> if someone enters "newa.pradyut.dyndns.org"
> how can i redirect to
>
> pradyut.dyndns.org/WebApplicationSecurity/newa
>
> or [b]"*.pradyut.dyndns.org"[/b]
> redirects to pradyut.dyndns.org/WebApplicationSecurity[b]/*[/b]
>

Unfortunately, we don't support wildcards in domain names, which means
you will have to list all possible subdomains.
I remember a similar request having been filed in the past. I agree it
would be useful to support this feature.

Please file an enhancement request at
https://glassfish.dev.java.net/servlets/ProjectIssues

Thanks!

Jan
> Thanks
> Pradyut
> [Message sent by forum member 'pradyut']
>
> http://forums.java.net/jive/thread.jspa?messageID=392426
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>