> From: Johnson, Rob E [mailto:rob.john...@mms.gov] > Subject: RE: Alias URL > > Because the current url has the server name in address.
Obviously true, but irrelevant. > If you look in the server.xml file the code has Host name=localhost. > This also means it is using the computer name in the url. Not true at all. The name attribute on the <Host> element links only to the defaultHost attribute of the <Engine>. Unless you have multiple <Host> elements, the name has no relationship to any DNS name. > Under tomcat manager we've created a site/folder called webtop > (http://localhost:8080/webtop) That is a webapp, not a site or a folder. > I've set the alias in the DNS server: (Alias) = webtop fully qualified > domain name = imsden.mms. So now in IE, I can type in http://webtop > and > get http://tomcat.apache.org/tomcat-5.5-doc/config/context.html. That makes no sense; are you saying that http://webtop takes you to tomcat.apache.org? > I have appache listening to port 80 in server.xml so I > don't need to include the :8080. What do you mean by "appache"? Tomcat? httpd? Some other Apache product? If you have Tomcat configured to listen on port 80, why do you want the URL to include port 8080? You might want to post your server.xml so we can look at it, since your statements about it are self-contradictory. Also, take a look at this FAQ entry if you want your webtop app to be the default webapp: http://wiki.apache.org/tomcat/HowTo#How_do_I_make_my_web_application_be_the_Tomcat_default_application_.3F - 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