{Solved}: Configuring alternate host and port on Tomcat server - newbie question

2009-01-26 Thread Shyam Anand
Chuck,

Thanks for your help. This was exactly what I need.

Thanks,
Shyam


--- On Thu, 1/22/09, Caldarale, Charles R  wrote:

> From: Caldarale, Charles R 
> Subject: RE: Configuring alternate host and port on Tomcat server - newbie  
> question
> To: "Tomcat Users List" <>
> Date: Thursday, January 22, 2009, 5:13 PM
> > From: Shyam Anand [mailto:struts_new...@yahoo.com]
> > Subject: Configuring alternate host and port on Tomcat
> server
> > - newbie question
> >
> > I would like to configure the second instance
> > to work with a secondary IP/alternate host and
> > port 443 on the same machine.
> 
> By default, Tomcat listens on IP address 0.0.0.0, meaning
> every IP address configured for the TCP/IP stack on the
> system.  You'll need to set the address attribute of all
>  elements for each Tomcat to use the
> specific IP address you want for each one.
> http://tomcat.apache.org/tomcat-5.5-doc/config/http.html#Standard%20Implementation
> 
>  - 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



Configuring alternate host and port on Tomcat server - newbie question

2009-01-22 Thread Shyam Anand
Hi,
I'm running Tomcat 5.5 on a Solaris(SunOS 5.10 )box. I have a couple of 
instances of Tomcat web servers running on the same machine - the first one 
uses the primary IP/localhost and port 443, and I would like to configure the 
second instance to work with a secondary IP/alternate host and port 443 on the 
same machine. I looked at the  configuration files under the $TOMCAT_HOME/conf 
directory and noticed references to the default local host in the following 
files:
server.xml
server-minimal.xml
workers.properties
workers2.properties
logging.properties
---
In order to configure the alternate host, do I just need to replace all 
references to "localhost" with the corresponding DNS entry for my alternate 
host manually?
Or is it easier to do this through the Admin web page by creating a new host 
and new connector? I don't see any options to edit entries for the default host 
and connector - is this possible?

Could somebody let me know what is the best way to accomplish my task?

Any help/suggestions or pointers to the right documentation will be greatly 
appreciated.

Thanks,
Shyam



  

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