tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: help with virtual hosting
Date Tue, 02 Sep 2008 21:29:22 GMT

----- Original Message ----- 
From: "Sathish Vadhiyar" <vss@serc.iisc.ernet.in>
To: <users@tomcat.apache.org>
Sent: Tuesday, September 02, 2008 11:51 AM
Subject: help with virtual hosting


>
> Hi,
>
> I have tried various solutions regarding virtual hosts in tomcat and none
> of them work.
>
> I have in my server.xml:
> <Engine name="Catalina" defaultHost="localhost">
> <Host name="localhost" appBase="webapps"
>       unpackWARs="true" autoDeploy="true"
>       xmlValidation="false" xmlNamespaceAware="false">
>
> Under my webapps directory, I have vh1 directory
>
> I have vh1.com in my DNS.
> So, when I type http://v1.com, it is opening the project corresponding to
> webapps/vh1.
>
> Now, I have webapps/vh2-apps corresponding to 2nd virtual host. I also
> have vh2.com in DNS corresponding to the same machine.
>
> What should I do in order to get http://vh2.com open the corresponding web
> page?
>
> Thanks,
> Sathish

This is covered really well in your tomcat docs
http://localhost:8080/tomcat-docs/virtual-hosting-howto.html

or try this...

http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
--------------------------------------------------------------------------- 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message