Use App_Offline.htm to take down your site and give the user a nice message in a simple way

If you want to take down an aspnet2 site but still give the user a web page with some other info than 404; just drop  a file named App_Offline.html with contents of choice in the direcotry and IIS will gracefully take down the sessions and instead show your message.  Remove the file and you are up again.

Honor those who should.

Leave a Reply