Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a single IIS web server in house that when it goes down we would like to redirect traffic to another web server and display a message that the web site is down. I have been all over the net but I cannot find quite what I need. This is a single web server setup so I do not have a load balancer. All dns and routers are in house.

share|improve this question
up vote 2 down vote accepted

I think the answer is in your question: Get a Load Balancer/Reverse-Proxy! (-:

Two that come to mind are:

Varnish can be installed on the same server as IIS, set to listen to port 80. Then define the web server to listen on another port, say, 8080, and set up a backend in Varnish to point localhost on port 8080. Next, do a health check against the backend -- Varnish has functions for it. If it fails, display a message or redirect to another server.

Varnish is usually used for caching, but you can turn that off. OR. You can store pages in varnish cache even if your backend is down and present them to your users which you fix the backend. Look at Varnish's grace and saint modes. Check out the docs at the above links. If you are not familiar with these products, there is a bit of a learning curve, IMO.

HTH, and good luck!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.