> From: Angelo Chen [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 virtual hosting and subdomain > > I'd like to let a web application pointing at something like a > subdomain or alias, like this: > www.test.example.com
Your question is not phrased well, so I can only guess at what you're asking for. If you want the above URL reference to access a specific webapp, different than the one targeted by www.example.com, then create another <Host> element in conf/server.xml with an appBase pointing to a different directory than the one the default <Host> uses. Under that second appBase, deploy your desired webapp with the name ROOT so it becomes the default webapp for the new <Host>. Read all about it here: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html Your clients will need some means of resolving www.test.example.com, of course; that can be either a proper DNS entry in whatever DNS boxes they access, or an appropriate entry in the /etc/hosts file of each (C:\WINDOWS\system32\drivers\etc\hosts for Windows boxes). - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]