문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top