Tuesday, January 21, 2014

Site Down for Maintenance

Here is something that I've been trying to setup as part of our deployment process. The goal is to provide users with a site maintenance page during the deployment. We do not require 100% up-time so this solution should meet our needs. I found additional details here which work pretty nice.


  1. Copy App_Offline.htm.disabled to the website directory and move to App_Offline.htm
  2. Copy the application’s Web.config to Web.config.backup and move Web.config.disabled to Web.config, replacing the original
  3. Test that the offline page is rendered
  4. Deploy file system changes
  5. Move Web.config.backup to Web.config, replacing the temporary file
  6. Delete App_Offline.htm

No comments:

Post a Comment