You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by joseph panico <jo...@panmachine.biz> on 2005/01/21 04:53:50 UTC
virtual host names
Hello,
I'm working with Tomcat 5.0 in a stock (out-of-the-box) configuration.
I can access the webserver using a URL based on the real (actual) hostname,
but if I use an alias (virtual host), I get the message: "connection refused
when attempting to contact...". I know there is nothing wrong per-se with the
alias itself, because I can access other web applications (in other app
servers) on that same host using the alias.
What do I change in the configuration to enable virtual hostnames in accessing
URLs?
thanks for any info.
joe
--
Open WebMail Project (http://openwebmail.org)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: virtual host names
Posted by Parsons Technical Services <pa...@earthlink.net>.
Do you want an alias (two domain names pointing to the same app) or a
virtual host (separate apps each with is own domain name hosted on the same
server and IP)?
Alias:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Host%20Name%20Aliases
Virtual Host:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html
Doug
----- Original Message -----
From: "joseph panico" <jo...@panmachine.biz>
To: <to...@jakarta.apache.org>
Sent: Thursday, January 20, 2005 10:53 PM
Subject: virtual host names
> Hello,
>
> I'm working with Tomcat 5.0 in a stock (out-of-the-box) configuration.
>
> I can access the webserver using a URL based on the real (actual)
> hostname,
> but if I use an alias (virtual host), I get the message: "connection
> refused
> when attempting to contact...". I know there is nothing wrong per-se with
> the
> alias itself, because I can access other web applications (in other app
> servers) on that same host using the alias.
>
> What do I change in the configuration to enable virtual hostnames in
> accessing
> URLs?
>
> thanks for any info.
>
> joe
>
>
>
> --
> Open WebMail Project (http://openwebmail.org)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org