WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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

Any bright ideas on how to fallback to an HTML page "Website Offline" when the main box holding the Wordpress multi-site is down?

Real scenario; fully operational SAAS built on cloud vps. Cloud VPS has issues, emergency rebuild of SAN, our box goes offline. Is there a way to direct traffic to a specific page in the event of melt-down?

share|improve this question
up vote 1 down vote accepted

If you are running Nginx, it is easier to implement a similar scenario with an isolated server running Nginx alone.

In Nginx, the HttpUpstreamModule can be configured to divert the traffic to a completely different domain running on a different server. For example, if your site is yoursite.com, it is easy to divert the visitors to status.yoursite.com when the main site (running on a different server) is down for some reason.

share|improve this answer
Bingo. That's exactly what I was looking and hoping for. Thank you sir! Yup running a custom cocktail that includes nginx instead of apache. – Nick Haskins Jan 27 '12 at 19:07

Depending on quite how down the site is, you might be able to handle it through .htaccess with ErrorDocument, maybe something in the 500 series of errors would suit you?

share|improve this answer
oooohhh. There's an idea, but yeah down, as in, hard-core down. Nothing showing in the browser down. Like nothing is even there.... – Nick Haskins Jan 27 '12 at 18:43
I'm not sure if that is possible...if your server is that gone, it probably can't tell anyone to go anywhere. You might be able to do something with your domain registrar MAYBE...but I doubt it. Probably just have to deal with the downtime and have good sysadmins so you minimize it – mor7ifer Jan 27 '12 at 18:49

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.