Question

I have 2 subdomains for my domain: "www" and "hosting". I made 2 WAR applications: one for the "www" site, and another for the "hosting" site. Is there any way I can configure Tomcat 7 to route subdomains to web applications?

Était-ce utile?

La solution

Reverse Proxy set up would enable finer control over how the HTTP requests are handled and directed. You would configure the proxy for each of the subdomains to point to the proper applications.
I use nginx as a reverse proxy in front of my Tomcat webservers.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top