Monday, January 05, 2009 Click here to search 
Welcome: Register | Login
You Are Here » Forums
 
Orlando DotNetNuke® Users Group (ODUG) Forums
 
 
 
  Forum  General  How To, Tips & ...  HOW TO: Take Your DotNetNuke® Site Offline
Previous Previous
 
Next Next
New Post 7/8/2008 12:40 PM
Informative
User is offline Will Strohl
147 posts
www.willstrohl.com
7th Level Poster








HOW TO: Take Your DotNetNuke® Site Offline  (United States)
Modified By Will Strohl  on 7/8/2008 11:50:29 AM)

Originally Published at:  http://blog.strohlsitedesign.com/Blog/tabid/66/EntryID/176/Default.aspx

Why would we need to bring our site "down", and make it unaccessible to the world?  The most common reason is that we need to alter something in IIS or on the file system, and a visitor being on the site may keep you from performing the task at hand.

Be aware though, that there are many ways to take a site offline.  But if you think it would be a better idea for DNN to do it for you, read on.  Keep in mind though, that this method brings the site down for everyone.  Even you.  If you need to bring it down for everyone except you, then I suggest implementing IIS IP address restrictions.

This is going to be a very, very, very, VERY complicated process, so be sure to pay extra special attention...  (not really)

The first step is to create a static HTML file with information regarding the outage.  A company logo and a simple "server undergoing scheduled maintence" message should do.

Here is an example that you can use:

<html>
<head>
    
<title>[YOUR COMPANY NAME] Web Site Outagetitle>
    
<meta name="robots" content="noindex" />
    <
meta name="revisit-after" content="2 days" />
    <
style type="text/css">
        
#divWrapper1,#divWrapper2{position:static;display:block;width:100%;}
        
#divLeft{position:relative;display:inline;float:left;}
        
#divRight{position:relative;display:inline;float:right;}
    </style>
</head>
<body>
    
<div id="divWrapper1"><div id="divLeft"><img src="images/logo1.gif" alt="[YOUR COMPANY NAME]" /></div><div id="divRight"><img src="images/logo2.gif" alt="[YOUR COMPANY NAME]" /></div></div>
    
<div id="divWrapper2"><h1>[YOUR COMPANY NAME] is experiencing technical difficulties</h1>
    
<p>We aplogize for the inconvenience. We are working hard to restore the web site for you as soon as possible.</p>
    
<p>Please check back with us in a few minutes.</p>
    
<p>Sincerely,<br />[YOUR COMPANY NAME] Staff</p></div>
</body>
</html>

Now, just save this on the root of your site with the filename of "app_offline.htm".  Once you do, any requests reaching the DNN directory will be responded to with your HTML file.  Just be sure you edit the META tags to tell the search engines to not index, and to return in a day.


Will
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD | Orlando DNN User Group
Google Toolbar Button for DotNetNuke® | Suggested DotNetNuke® Upgrade Path(s)
View Will Strohl's profile on LinkedIn
 
Previous Previous
 
Next Next
  Forum  General  How To, Tips & ...  HOW TO: Take Your DotNetNuke® Site Offline
 
   
 
Forum Policy
 
 

These Forums are dedicated to the discussion of the Orlando DotNetNukeUG Users Group surrounding the kindred usage of DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the UG, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 
   
Terms Of Use | Privacy Statement
© 2008-2009 Orlando DotNetNuke® Users Group (ODUG)
DotNetNuke® Powered! v04.08.04
DotNetNuke® Powered! v04.08.04
Skin designed by StrohlSiteDesign.com
Orlando DotNetNuke� Users Group
DotNetNuke® is a registered trademark of the DotNetNuke® Corporation