When stopping a site, what does the user see?

Russell Hires asked on April 2, 2019 22:32

Going to need to put our site in maintenance mode, which for us means stopping the site, but the docs don't say what the user will see when that happens. So, what will the user see if we stop the site? Is there a static "maintenance mode" page that can be displayed while the site is stopped?

Recent Answers


Brenden Kehren answered on April 2, 2019 22:40

You have several options but the 2 easiest are:

  • Setting the offline message in the Site application for the given site. This will leave the actual asp.net website running in the background in IIS but not allow the content to be visible. You can still access the Kentico Admin UI. This message can have whatever HTML you want on it. Be sure to not reference any of the URLs for the site you're taking offline though, the won't work.
  • Adding an app_offline.html. This will stop the whole asp.net website and not allow you to access the Kentico Admin UI. This page can have whatever HTML you want on it.
1 votesVote for this answer Mark as a Correct answer

Russell Hires answered on April 2, 2019 22:44

Thanks! Where would I add the app_offline.htm file? I found a link in someone's answer to a similar question, but it doesn't say where the root is (I'm sure I'm supposed to know, but...). Where would I put this file?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 2, 2019 22:47

The App_Offline.html would go in the root of the file system for the website. This depends on where your site is hosted. If you were to look at a base Kentico install for example installed under C:\inetpub\Website\ The directory C:\inetpub\Website\CMS would be the root of the site.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.