> I have apache tomcat 5.5 installed and I am trying to setup an alias 
> url.

Why?  By default, Tomcat will listen on all IP addresses assigned to the
box it's running on.

Because the current url has the server name in address.




> Our host directory is "localhost" and we have a site called webtop.

Your terminology is ambiguous.  What do you mean by "our host directory
is localhost"?  

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.



What do you mean by "site" (webapp, perhaps)?

Under tomcat manager we've created a site/folder called webtop
(http://localhost:8080/webtop)



> I have create an alias on our DNS (IIS) server http://webtop.

The http:// must not be part of the DNS entry.  Another ambiguity: IIS
is a web server, not a DNS server; what did you really do?  Be specific.

Is IIS front-ending Tomcat?

We are using a Windows 2003 box as the DNS server on our domain.  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.

But I want to get http://imsden:8080/webtop.




> I want a user to enter this url and have it open 
> http://localhost:8080/webtop.

Do you have IIS listening on port 80?  I have appache listening to port
80 in server.xml so I don't need to include the :8080.




If you want IIS to forward specific requests to Tomcat, have you read
the relevant doc?
http://tomcat.apache.org/connectors-doc/reference/iis.html

No, If I had IIS on this server instead of tomcat I could simply set the
folder/website I want to be the default home page.



> I've tried a number of settings in the server.xml file but nothing has

> worked yet.

Not surprising, because nothing should have to be changed in Tomcat,
unless you need to enable the AJP connector.

 - Chuck

-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Monday, October 05, 2009 9:52 AM
To: Tomcat Users List
Subject: RE: Alias URL

> From: Johnson, Rob E [mailto:rob.john...@mms.gov]
> Subject: Alias URL
> 
> I have apache tomcat 5.5 installed and I am trying to setup an alias 
> url.

Why?  By default, Tomcat will listen on all IP addresses assigned to the
box it's running on.

> Our host directory is "localhost" and we have a site called webtop.

Your terminology is ambiguous.  What do you mean by "our host directory
is localhost"?  What do you mean by "site" (webapp, perhaps)?

> I have create an alias on our DNS (IIS) server http://webtop.

The http:// must not be part of the DNS entry.  Another ambiguity: IIS
is a web server, not a DNS server; what did you really do?  Be specific.

Is IIS front-ending Tomcat?

> I want a user to enter this url and have it open 
> http://localhost:8080/webtop.

Do you have IIS listening on port 80?  If you want IIS to forward
specific requests to Tomcat, have you read the relevant doc?
http://tomcat.apache.org/connectors-doc/reference/iis.html

> I've tried a number of settings in the server.xml file but nothing has

> worked yet.

Not surprising, because nothing should have to be changed in Tomcat,
unless you need to enable the AJP connector.

 - 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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to