You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tr...@LibertyMutual.com on 2001/12/03 17:04:57 UTC

Tomcat Virtual/Named Hosts?

Would anybody be able to help me out with this?


I have a TOMCAT server at www.mydomain.com <www.mydomain.com>  and it's
working on the regular port 80.
I was wondering if there is a way I could set it up so, if I get a request
to kpax.mydomain.com that it would go to that server.

Right now all requests to anything.mydomain.com all go to that
www.mydomain.com <www.mydomain.com>  web server.


Is there any type of configuration I could to map kpax.mydomain.com to that
server?



Any help would be appreciated.


Thank you!




[:==> Troy Campano <==:]


Re: Tomcat Virtual/Named Hosts?

Posted by felix <fe...@crucial-systems.com>.
perhaps:

        <Host name="mydomain.com" >
           <Context path=""
                    docBase="/home/royal/public_html" />
        </Host>

        <Host name="www.mydomain.com" >
           <Context path=""
                    docBase="/home/royal/public_html" />
        </Host>

     <Host name="kpax.mydomain.com" >
           <Context path=""
                    docBase="/home/royal/public_html" />
        </Host>



> From: Troy.Campano@LibertyMutual.com
> Reply-To: "Tomcat Users List" <to...@jakarta.apache.org>
> Date: Mon, 3 Dec 2001 11:04:57 -0500
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat Virtual/Named Hosts?
> 
> Would anybody be able to help me out with this?
> 
> 
> I have a TOMCAT server at www.mydomain.com <www.mydomain.com>  and it's
> working on the regular port 80.
> I was wondering if there is a way I could set it up so, if I get a request
> to kpax.mydomain.com that it would go to that server.
> 
> Right now all requests to anything.mydomain.com all go to that
> www.mydomain.com <www.mydomain.com>  web server.
> 
> 
> Is there any type of configuration I could to map kpax.mydomain.com to that
> server?
> 
> 
> 
> Any help would be appreciated.
> 
> 
> Thank you!
> 
> 
> 
> 
> [:==> Troy Campano <==:]
> 
> 


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>