Virtual hosting in tomcat and other configuration issues.