Apache: Taking a Site Down for Maintenance
Posted on 2008-06-09
What's the best way to show a "We'll be back soon" message to site visitors when I need to take the site down for maintenance?
If my site is at mysite.com, I need all visitors to see the same plain HTML file no matter what URL they try to visit, e.g. mysite.com, mysite.com/accounts/settings, etc.
It would be great if I could simply uncomment a couple lines in the httpd.conf to do this, and then comment them again to bring the site back up.