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?

> Use the special name 'ROOT' for each application and it will serve
> resource on the default path.

Can you describe this in more detail?

T

--
"Live every week like it's Shark Week"
  -- Tracy Morgan


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

Reply via email to