You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by banderson <br...@thomson.com> on 2007/10/26 17:53:52 UTC

Virtual Host with Different IP Address

I'm kind of new to this, so try to hear me out...  I am running tomcat on two
separate machines.  Each server has a different application running on it. 
Through my web browser, one server is accessed by domain mydomain.com, and
the other doesn't have a domain name, so I can only access it via the ip
address.  I would like to know if tomcat can create a virtual host (or some
other solution) on the server with mydomain.com so that the other server can
run as a subdomain.  For clarification, see the following:

Now: 
      server1 - mydomain.com
      server2 - 123.123.123.123
End result:
      server1 - mydomain.com
      server2 - sub.mydomain.com

Thank you for your help, I look forward to learning and participating in
these discussions.
-- 
View this message in context: http://www.nabble.com/Virtual-Host-with-Different-IP-Address-tf4698149.html#a13430085
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: Virtual Host with Different IP Address

Posted by Mark Thomas <ma...@apache.org>.
banderson wrote:
> Thank you for your help, I look forward to learning and participating in
> these discussions.

This is a question for the users list.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: Virtual Host with Different IP Address

Posted by pankaj narang <pa...@yahoo.co.in>.
Brian
   
   
  You can use vmware if your server machine is window/linux so that you can share two app on same machine but with two different ip addresses
   
  If you are using linux on server then linux should provide you a solution very straight forwardly you can map two ip addresses on same machine and run 2 tomcats on same machine and you need to see in linux how you can map other application as sub domain
   
  I am not an expert but i a sure if it is  linux box you have a lot of ways to do so
   
  Regards
  Pankaj  Narang

banderson <br...@thomson.com> wrote:
  
I'm kind of new to this, so try to hear me out... I am running tomcat on two
separate machines. Each server has a different application running on it. 
Through my web browser, one server is accessed by domain mydomain.com, and
the other doesn't have a domain name, so I can only access it via the ip
address. I would like to know if tomcat can create a virtual host (or some
other solution) on the server with mydomain.com so that the other server can
run as a subdomain. For clarification, see the following:

Now: 
server1 - mydomain.com
server2 - 123.123.123.123
End result:
server1 - mydomain.com
server2 - sub.mydomain.com

Thank you for your help, I look forward to learning and participating in
these discussions.
-- 
View this message in context: http://www.nabble.com/Virtual-Host-with-Different-IP-Address-tf4698149.html#a13430085
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org



       
---------------------------------
 Now you can chat without downloading messenger. Click here to know how.