tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <>
Subject RE: Address Resolving
Date Fri, 01 Aug 2003 09:28:43 GMT

If You have one tomcat server, serving for multiple dns names, but only one IP for this computer,
you can set up several virtual hosts, one for each dns name, or if you want all to go into
the same application you can set up one virtual host with many <Alias>dnsname</Alias>

So you would setup something like this in your tomcathome/conf/server.xml 

<Host name="" debug="0" appBase="/somewhere/on/your/harddrive/" >
   <Context path="" docBase="/somewhere/on/your/harddrive/" debug="0" reloadable="true"

Hope it helps

> -----Original Message-----
> From: Sekhmet [] 
> Sent: 31. júlí 2003 22:09
> To:
> Subject: Address Resolving
> Hi there...
> I recently installed Tomcat 4.0 and I'm still new to this 
> server, but I already read all the documentation that came 
> with the server and still have a question:
> How can I make tomcat resolve different addresses to the same 
> IP? I mean, if I enter > <>  
> and this points to my static IP, and 
> I also have <> pointing to 
> the same IP, how can Tomcat redirect the request to the 
> appropriate page?
> Anyone? Please forgive me if this is a dumb question...

View raw message