Maintenance Page for SharePoint – Quick way to Implement

Here is the quick way to implement Maintenance page in SharePoint, during scheduled down times/upgrade/service pack patching: Create a new app_offline.htm file in IIS Root folder of your SharePoint site. Place some descriptive text/images to the file, Make sure the file size is at least 512 bytes (otherwise, you will get 404 page not found error!). That’s all!

maintenance page sharepoint 2010

I’ve placed the maintenance page content like this:

<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Site Under Maintenance</title>
</head>
<body>
<div align="center"><br />
  <br />
  <br />
  <br />
  <img src="https://testIntranet.crescent.com/images/maintenance.gif" width="600" height="300" /></div>
</body>
</html>

and the output: Maintenance page for SharePoint 2010/2013

sharepoint display maintenance page

As long as this file exists in the root, ASP.NET shuts down the site, stops processing any requests. So, After the maintenance activity, Just delete the app_offline.htm file to end up the maintenance mode.

For some reason, If this doesn’t work for you: Create a dummy website in TEST environment, assign the PROD site’s Host headers, Place the above content in Index.htm, change the IP addresses in the publishing server! (ISA/ F5).

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

4 thoughts on “Maintenance Page for SharePoint – Quick way to Implement

  • Great post, but this is not working when IIS/web server is down. Is it possible to setup a maintenance/server down page when II/web server is unable to process requests?

    Reply
  • Nice Post Saludeen,

    may I know how to display that maintenance page only to end user and developer can able to work with that site once logged in

    Reply
    • I guess yes, possible. You will need to extend the web application to another zone and start using it.

      Reply
  • Howdy!I just wanted to tell Thank you sooooooo much for this wonderful blog!

    Carry on the superb job!

    Mohamed Rady

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *