From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Virtual hosts with standalone tomcat 5.5.9
I tried simply going like this
Host name=www.mysite.com
Context path= docBase=/var/www/server1 reloadable=true
debug=0 /
/Host
Host name=mail.external.mysite.com
Context path=
how do you have mail.external.mysite.com set up in your dns?? Does it
point to the same IP as your tomcat server that mysite.com is hosted on?
Drew.
On Fri, 2005-06-24 at 18:16 -0400, [EMAIL PROTECTED] wrote:
mail.external.mysite.com
You can't do it that way. At least the testing. You either have to set up
DNS to resolve both names back to the IP or put entries in your host file.
When you do a request to the server the header holds the URL and when you
use the localhost that is what is sent in the header. Tomcat then will