I have a sort of similar setup; we have shell script that simple adds an <Alias>hostname</Alias> to Tomcat's server.xml file; not the optimal solution, but it works for us for now.

Drew Jorgenson wrote:

Woops, I don't think that will work with Tomcat since the
subdomain.mydomain.com would be passed to it and Tomcat won't know which
container it goes to.

The way I normally do this, is assign a static IP to a virtual host and
set the IP as one of its aliases. That way all wild card domains point
to the same container.

Drew
P.S. I will think about this a bit more since it is valid point, I
wouldn't want to give out all my static IPs just for the wild cards to
work.

On Fri, 2005-03-25 at 12:36, Drew Jorgenson wrote:


I think that would still be up to your dns settings. You could have
something like

* IN CNAME mydomain.com

correct me if I'm wrong ;-)

Drew.



On Thu, 2005-03-24 at 17:46, George Sexton wrote:


Oh, I see where you are headed.

One way to go would be to have a new service, with a new IP address, and
make that the default host.

That's out of the question since I host for so many people.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585




-----Original Message-----
From: Drew Jorgenson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 4:14 PM
To: Tomcat Users List
Subject: Re: Wild Card Hosting


Are you able to assign a static IP address to your virtual host, meaning
do you have a static IP available?


Drew.


On Wed, 2005-03-23 at 10:42, George Sexton wrote:


Does anyone know if Tomcat supports Wild card hosting? Can

I specify a


pattern say

*.domain.com

And have all requests get forwarded to a specific host?

Making the host the default host is not an option, because

there is already


another default host that is used.



George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585






---------------------------------------------------------------------


To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- Robert r. Sanders Chief Technologist iPOV (334) 821-5412 www.ipov.net


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to