> From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] > Subject: Tomcat with multiple domains
> I found the following tutorial (very old) on the web: > http://onjava.com/pub/a/onjava/2006/08/30/publishing-multiple-sites-using-single-tomcat.html Probably best to completely ignore anything that old. > I payed attention to the offical Tomcat documentation in regard of this: > http://tomcat.apache.org/tomcat-7.0-doc/virtual-hosting-howto.html That's good to look at, as is this: http://wiki.apache.org/tomcat/HowTo#How_do_I_set_up_Tomcat_virtual_hosts_in_a_development_environment.3F The steps apply to production as well as development. > In my $CATALINA_HOME (which is /opt/apache-tomcat-7.0.32) I created > the folder "my2ndDomain" This is only speculation (too lazy to look at the code right now), but domain names are defined to be case-insensitive, and typically presented only in lower case. What happens if you change my2ndDomain to my2nddomain everywhere? > <Context path="my2ndDomain" debug="0" reloadable="false"/> The above is really, really bad. You shouldn't be putting <Context> elements in server.xml, and besides, the contents of that one are gibberish. What did you expect to achieve with it? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org