Please see the documentation. In addition, server.xml is heavily documented with comments in the file itself.
Take the Host element for localhost and copy it. Change the name. Copy the DefaultContext in the localhost Host element. John -----Original Message----- From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 6:13 AM To: Tomcat Users List Subject: Two Sites in Tomcat4.1.12 Hi all, I want' to create two websites. site1 - www.site1.com site2 - www.site2.com I am using Tomcat alone not apache-tomcat combination.... can some please tell me the changes to be done in server.xml... how to add two host and default contexts..... thanks a lot in advance..... laxmikanth ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
