Re: Apache Tomcat 7 on windows 2008: how to host mutiple domains
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Joe, On 7/10/15 6:37 PM, joegreen690 wrote: Will this work. I want 123.abc.com to go to xyz.abc.com. So 123.abc.com is an alias for xyz.abc.com. Both the sites are pointing to the same appbase. Host name=www.knowledgefolders.com appBase=D:/webpage_demos/akc unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false What is the defaultHost setting for the enclosing Engine? You might not even need all of those Alias entries. Aliasknowledgefolders.com/Alias Aliaswww.knowledgefolders.net/Alias Aliasknowledgefolders.net/Alias Aliaswww.knowledgefolders.org/Alias Aliasknowledgefolders.org/Alias Aliaswww.satyakomatineni.com/Alias Aliaswww.kavithakomatineni.com/Alias Context path= docBase=D:/webpage_demos/akc debug=0 reloadable=false/ Context path=/akc docBase=D:/webpage_demos/akc debug=0 reloadable=false/ You should not have Context elements configured in your server.xml. Instead, please put your Context elements into individual files in conf/[engine]/[host]/[appname].xml - -chris -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVo/BhAAoJEBzwKT+lPKRYaJEP/jU0nBDYgNhbRbEoO9TuLOws SK2VDOUB3DbbO2FuSG4ySLj9AzoJgQWsQZSuU2WnZ3+qSeQHx3X0cAfQUJ7kFKhq IflYj19DIrjhfJ0RE2gBgR9t85kyJGKqa0Gk0RorCrnOLlkCdOwXkwR4UPZeaJd7 JH1o3arDAn+tcqvWlerNs2UnJDT/2BzhlIm7kcQADYbxWU1jxI0q+JpOgWn/bBjn e5++EfIztegyGGfBb4zRiWFwWwsPPIGenDztmqSEuTQ/B5xWo8Hu/RBQ1pgBzFAB cZGWI/URjmpzrRsSiYB2wSKsMmYrcfQWKNARvra8sw2g2se7IflwPtFEG9wm+gTY MRUbEF+SXzJ47Y9KeUhj4ZiCMp5AX0+i/mWieGkDyX3rrrcAh8kUbX/k8tqaYOJ1 S+poXb9GLFM3+PZbMGiaAe5p7U6q5zWhNLdQ/IlSM7I+Sp1hj0uJGl513KdEaAUg aoJZqrj6QovbohJWbSaqIUeaBwpXFcbIJWCurNZn66fS72DQJEyASh08RMDUZWiy EjoW5P5CUrXaSWdyvXlOUIGxv9D1LWcf7ibM6vQYEZiheM9fXLibTRJP48QQeZ5v FcPSWADuj+YU1L/jZ2u+ttVQPjMwoOWla7xzRo/6ckeCedDXRx3sOQNf0oKK80oH faN4A2SEd4PhtGMfITHd =PhiX -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat 7 on windows 2008: how to host mutiple domains
Will this work. I want 123.abc.com to go to xyz.abc.com. So 123.abc.com is an alias for xyz.abc.com. Both the sites are pointing to the same appbase. Host name=www.knowledgefolders.com appBase=D:/webpage_demos/akc unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Aliasknowledgefolders.com/Alias Aliaswww.knowledgefolders.net/Alias Aliasknowledgefolders.net/Alias Aliaswww.knowledgefolders.org/Alias Aliasknowledgefolders.org/Alias Aliaswww.satyakomatineni.com/Alias Aliaswww.kavithakomatineni.com/Alias Context path= docBase=D:/webpage_demos/akc debug=0 reloadable=false/ Context path=/akc docBase=D:/webpage_demos/akc debug=0 reloadable=false/ /Host Notice how all of the following host names point to the same web app, akc (which was the previous name for Knowledge Folders). knowledgefolders.com www.knowledgefolders.com knowledgefolders.net www.knowledgefolders.net knowledgefolders.org www.knowledgefolders.org www.satyakomatineni.com www.kavithakomatineni.com -- View this message in context: http://tomcat.10.x6.nabble.com/Apache-Tomcat-7-on-windows-2008-how-to-host-mutiple-domains-tp5037160p5037161.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Apache Tomcat 7 on windows 2008: how to host mutiple domains
Hi there, I’m new to Apache Tomcat. I have been asked to point new domain name to the existing domain name. E.g. We have https://xyz.abc.com, we want new domain name http://123.abc.com to point to xyz.abc.com. The Apache Tomcat 7 server is installed Windows 2008 R2 server. We have created the DNS entry for 123.abc.com Can someone tell me how to do this? Do I need to create a virtual host and if so how. How do I restart tomcat server on windows 2008 R2? I read that if I modify server.xml then I need to restart Tomcat. How do I restart Tomcat? I have a following entry in config/server.xml file:Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=%h %l %u %t quot;%rquot; %s %b / /Host Thanks Joe