You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by karmariv <ka...@hotmail.com> on 2007/09/21 00:34:59 UTC
virtual host
Hi
I am new in Tomcat.
I have two sites in my server, if want to enter in site1 I must write in my
browser:
http://162.17.3.80:8080/site1/index1.jsp
If I want to enter in site2 I write:
http://162.17.3.80:8080/site2/index2.jsp
I would like to know how I can change an address
"http://ip:8080/site1/index1.jsp" and "http://ip:8080/site2/index2.jsp" in
an address like "http://my_server_name.com/site1" ,
"http://my_server_name.com/site2"
I have installed Tomcat 5.5
I hope you could help me. thanks
--
View this message in context: http://www.nabble.com/virtual-host-tf4490701.html#a12807280
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: virtual host
Posted by Hassan Schroeder <ha...@gmail.com>.
On 9/20/07, karmariv <ka...@hotmail.com> wrote:
> I would like to know how I can change an address
> "http://ip:8080/site1/index1.jsp" and "http://ip:8080/site2/index2.jsp" in
> an address like "http://my_server_name.com/site1" ,
> "http://my_server_name.com/site2"
The way you're using the term "site" here suggests some confusion
but in any case --
You "get rid of" the IP address by having a valid DNS entry for your
hostname/domainname.
The "8080" is the port number; you configure that in server.xml.
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org