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!
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
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).
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?
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
I guess yes, possible. You will need to extend the web application to another zone and start using it.
Howdy!I just wanted to tell Thank you sooooooo much for this wonderful blog!
Carry on the superb job!
Mohamed Rady