Alan-

If your host entry is pointing to the same IP as the host= in server.xml then 
that will work e.g. localhost is same as myhost.com
If your host entry points to a different IP then change the host specification 
in server.xml to the new host name in your situation myhost.com
Be sure to put the correct port number as in http://host:Port

Martin--
P.S.
Alan are you by chance related to Don?

This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
conte
----- Original Message ----- 
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, October 27, 2006 1:57 AM
Subject: RE: Changing defaultHost from localhost to a FQDN


> From: Alan Burlison [mailto:[EMAIL PROTECTED] 
> Subject: Changing defaultHost from localhost to a FQDN
> 
> as soon as I change the Engine defaultHost and Host name fields from
> "localhost" to "myhost.com", everything stops working.

I just tried the same change, and it all works fine - assuming you have
made an entry for myhost.com in your hosts file, restarted Tomcat, and
cleared your browser's cache.

>     <Connector port="80" />

I realize the protocol attribute is supposed to default to "HTTP/1.1",
but just for grins, you might try setting it.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to