Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

So i had this thought about how I could put up a message for users to see while i was working on things with my farm...essentially instead of seeing the normal intranet page they would see an alternate one letting them know about the outtage etc...

Has anyone ever come up with something like this...does it involve page redirection? DNS adjustments?

I tend to think that in an ideal sharepoint environment you really shouldn't have much down time or if you figure out a way to load balance you dont ever have to worry about service interuption...but in my world i dont have those things in place and there are times where it may be good to put up a notice...instead of the standard...404 cannot be displayed...

Thoughts?

Thanks!!

share|improve this question
    
Just as an update i was curious if the app_offline.htm method would impact a service pack or CU update and found out that it would not. sharepoint.stackexchange.com/questions/43889/… –  Jacob A Aug 21 '12 at 18:15
add comment

2 Answers 2

up vote 5 down vote accepted

You should be able to use the app_offline.htm method. Create a file called "app_offline.htm" and put it into the root directory

Info here:

http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx

Also, it seems like some people have written features to help manage this:

http://spoffline.codeplex.com/

or

http://archive.msdn.microsoft.com/appofflineformoss

share|improve this answer
    
The problem with this approach is that it does not handle the physical server being restarted / down. I've also occasionally had problems where it would not work if the SharePoint site had any custom httpModules in place –  Dave Wise Jul 17 '12 at 16:15
add comment

I've taken various approaches to this but usually end up doing something like create a separate website on a server not in the farm and placing the custom outage pages there and then routing server requests to that site instead of the SharePoint site during the outage. It isn't automatic or elegant but gets the job done and allows me to even restart the SharePoint servers themselves.

On occasion, I've also hosted the 'outage web site' on the same servers as SharePoint and just swapped the host headers around in IIS for the outage. That approach can't gracefully handle a physical reboot but does handle routine maintenance without affecting DNS.

All that said, I would love to hear more ideas about this from the community.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.