Skip to content

Comment on How to Gracefully Take a Site Down For Maintenance?

Comments

For smaller sites, I would just redirect everyone but my own IP address over to a maint.html page.

I wrote up how I did it with .htaccess here: http://www.answermysearches.com/htaccess-block-everyone-exce...

Good thing it's impossible to spoof an IP address. Then again, as long as you're only relying on this for customer service and not for security, I suppose you're fine.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.