You should consider one of the oter options like a loadbalancer which redirects the incoming http requests to the working servers only or you switch the dns records and use a very short ttl. The dns switching is the easiest method but may cause a short downtime depending on the caching time of the dns servers.
|