Hosting two website on a Tomcat Server
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shajith_Nair
Posted On:   Thursday, August 8, 2002 03:57 AM

I want two sites to be installed on a sinlge Tomcat server. I have got one legal ip and i installed my Tomcat on the same machine. I have my contents in C drive a) C:Project1 b) C:Project2 How will i diffrentiate when the user type say for a ) www.xyz.com --> should take the content from Project1 b) www.abc.com --> should take the content from Project2 what all necessary settings to be done on the server . What all lines to be added on server.xml file What all necessary steps to be taken care .Plz help me out Thanks Shajith    More>>


I want two sites to be installed on a sinlge Tomcat server. I have got one legal ip and i installed my Tomcat on the same machine.



I have my contents in C drive

a) C:Project1

b) C:Project2


How will i diffrentiate when the user type say for
a ) www.xyz.com --> should take the content from Project1

b) www.abc.com --> should take the content from Project2


what all necessary settings to be done on the server .

What all lines to be added on server.xml file



What all necessary steps to be taken care .Plz help me out


Thanks Shajith    <<Less

Re: Hosting two website on a Tomcat Server

Posted By:   Roeland_Lengers  
Posted On:   Thursday, August 8, 2002 04:04 AM

You are talking about the concept of virtual hosts here. I'm not going to reproduce the documentation on Tomcat here, so I suggest you take a look at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html for the page that will explain it all to you.



Hope this helps.
About | Sitemap | Contact