tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: Alias tag doesn't work (T4)
Date Tue, 26 Dec 2000 19:31:33 GMT
Christian Parpart wrote:

> Hi all
>
> the documentation tells, that you're able to declare
> aliases for host names.
>
> <Host name="www.myhost.com">
>   <Alias name="myhost.com"/>
>   ...
> </Host>
>
> Now this host should be accessable from
>   http://www.myhost.com and
>   http://myhost.com.
>
> but the second doesn't work? Is that a bug or is
> something wrong? What?
>
> btw. I am using Tomcat/4.0-m5
>

Is myhost.com (without the www) defined in the DNS setup for your server?  You
cannot just make up names here and expect them to work ... your browser does a
DNS lookup on the host you specify, before it ever tries to contact that host.
The name it looks up needs to be valid, and resolve to the IP address of your
server.

>
> Regards,
> Christian Parpart
> SurakWare
> cparpart@surakware.com
> http://www.surakware.com

Craig McClanahan



Mime
View raw message