saurabh
saurabh

Reputation: 61

Redirect request to different tomcat server according to requested urls

I have two different tomcat sever on two different machine.
One of them is front server has public IP(url: xyz.com).
I have to configure tomcat such that if user type xyz.com/dev then request goes to 1st server and when user access xyz.com/demo, it will redirect him to 2nd server internally.

Upvotes: 0

Views: 966

Answers (1)

Stefan
Stefan

Reputation: 12453

The best way is to put a web server in front of both Tomcats and route to the specific apps with modjk.

Upvotes: 1

Related Questions