开发者

Redirect url from one server to another server?

开发者 https://www.devze.com 2023-03-04 15:30 出处:网络
We are having a web application deployed in Tomcat 6 in two different servers. I want to redirect the url to second server if the first server is down.

We are having a web application deployed in Tomcat 6 in two different servers. I want to redirect the url to second server if the first server is down. Please help to s开发者_如何学Goolve this problem.


You can do that in many ways... depending on your architecture

You can cluster your tomcats, or put a load-balancer in front of it (replicated for assuring high availability of the entry point)

You can have a round robin DNS entry with a minimal TTL, or if you have access to your DNSs, you can change your DNS entry when a server is down (It's pretty a hack, though)

Cheers

Grooveek

0

精彩评论

暂无评论...
验证码 换一张
取 消