Hi, You need to go up another level in the tags of your server.xml. The container which holds your <Context> is the <Host> container whose "name=" attribute is the domain name you want to call from your browser.
As for other names, if you want to have multiple Virtual Hosts you can have multiple <Host> containers inside the <Engine> container each with one or more <Context> containers. If on the other had you just want a single VHost to be capable of being referred to by several names then you can use one or more <Alias>myhost.com</Alias> tags in your <Host> tag alongside your contexts. Basically though, the long and the short of it is that you should do much more "manual reading"!! HTH, Andoni. ----- Original Message ----- From: "Panos Konstantinidis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 28, 2002 11:41 AM Subject: Make Tomcat serve a URL in the form of www.mywebapp.com > Hello more questions about Tomcat. > > After a few days and changes in the configuration > files I managed to transfer all web application from > Resin to Tomcat. What I would like to do now is to > configure Tomcat to server a url in the form of > www.mywebapp.com. > > mywebapp is configured under the /webapps folder. So > far in order to run it I was doing > http://localhost/mywebapp but I need to change it. I > have defined the Context tag to be like: > > <Context path="www.mywebapp.com" > docBase="C:\Tomcat4.1\webapps\mywebapp" debug="0" /> > > but with no luck. "mywebapp" is registered with a > DNS server. What if I also want to have other > webapplication in the form of: www.app1.mywebapp.com, > www.app2.mywebapp.com etc? > > Any help is appreciated. > > Thank you. > > Panos > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>