tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: How does Tomcat on Mac OS X Server handle requests to different domain names?
Date Thu, 21 Oct 2010 08:06:23 GMT
Thomas Hauk wrote:
> On Oct 20, 2010, at 3:22 AM, Pid wrote:
>> Presumably by 'different servlet' you mean different 'web application
>> which contains one or more servlets'?
> 
> I'm not sure what kind of distinction you're trying to get at here, so let me phrase
what I need in another way.
> 
> I have brandedapp1.war and brandedapp2.war that I want to deploy to Tomcat.
> 
> brandedapp1 should respond to all requests sent to http://myapp.example.com/ and brandedapp2
should respond to all requests sent to http://myapp.anotherexample.com/ 
> 
> Assume that the DNS is already set up for myapp.example.com and myapp.anotherexample.com
(i.e. both FQDNs point to my server's IP address)
> 
>> You'll need to configure DNS to point name records at the public IP
>> address of the server,
> 
> Already done.
> 
>> and once you've done that configure Tomcat to
>> support Virtual Hosts.
> 
> Can you describe this in more detail?

Start here :

http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

> 
>> Use the special name 'ROOT' for each application and it will serve
>> resource on the default path.
> 
> Can you describe this in more detail?
> 

Start here :

http://wiki.apache.org/tomcat/HowTo

at #39



> T
> 
> --
> "Live every week like it's Shark Week"
>   -- Tracy Morgan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


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


Mime
View raw message