Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top