Instead of defining your context in server.xml, try to define it in a document titled ROOT.xml. This document must be located in conf/Catalina/www.anishanumandla.com/. Also, I would change the appBase of your host to "/Program Files/Apache Software Foundation/Tomcat 5.5/webapps". I hope this helps.
Pedro Nevado -----Mensaje original----- De: Ashok Anumandla [mailto:[EMAIL PROTECTED] Enviado el: martes, 26 de abril de 2005 5:02 Para: [email protected] Asunto: how to host website on Tomcat 5.5.9 Hi All, I am trying to host my son website on Tomcat 5.5.9 in my home machine, i did following steps .. - installed the JRE,JAVA, and Tomcat 5.5.9 - installed ant - when i run ant, it created anishanumandla under tomcat webapps. - configured following in server.xml <Host name="www.anishanumandla.com" appBase="/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/anishanumandla"> <Context path="" docBase="/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/anishanumandla" /> </Host> - Configured web.xml for welcome file. - Configured my linksys to fwd the any request from www.anishanumandla.com to port number and 8080 port. - Restarted the tomcat, But unfortunately i am not able to make it working , when i try http://localhost:8080/anishanumandla, it is working fine, but when i try accessing www.anishanumandla.com it is not working, i am getting page not found error, can somebody please tell me what i am doing wrong here?? or if there is step by step document, can u please send me the url,,, the environmentment is Windows 2000... Thanks in advance Regards Ashok --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
