Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...app_offline.htm - Doesn't workapp_offline.htm - Doesn't work
Previous
 
Next
New Post
8/5/2014 12:20 PM
 

I'm trying to get app_offline.htm working for a DNN installation.  When I add the file, I'm getting an "internal server error".  When viewed from the server itself, I'm getting a 500.19 internal server error.

Why doesn't this work any longer with DNN v7?

Thanks..

 

 
New Post
8/5/2014 2:05 PM
 

I found a better way to block some users, but not all users; this is on IIS 7.5.

  1. Make sure your IIS Installation has IP Address and Domain Restrictions Installed.
  2. Within your Root DNN installation folder, create a new folder named DownForMaintenance.
  3. Within this folder, create a default.htm file.
  4. Create your webpage as you wish to display; see below for my sample HTML code.
  5. Within IIS settings on your DNN website, open IP Address and Domain Restrictions.
  6. On the right column, select Edit Feature Settings... and set Access for unspecified clients: to DENY and click on OK.
  7. Next, click Add Allow Entry... and enter your computer's IP address so you can still have full access to your website.
  8. In the left column, again select your DNN website, then select the Error Pages setting under the IIS settings.
  9. There will already be a 403 staus code page; double-click to edit this entry.
  10. Ensure Execute a URL on this site is selected.
  11. Within the URL (relative to site root): box, enter /DownForMaintenance/default.htm.  Click OK.
  12. Next in the left column, select the DownForMaintenance folder.
  13. Again, select IP Address and Domain Restrictions.
  14. In the right column, select Edit Feature Settings... and set Access for unspecified clients: to ALLOW and click OK.
  15. Test the website.  If you have it configured correctly, you should see your normal website, but everyone else will see your custom down for maintenance page.

Here's my sample down for maintenance page; hope this will help others.

<html>
<head>
<title>Site under maintenance</title>
<style type="text/css">
BODY {font-family: 'Segoe UI',Arial;font-weight: lighter;overflow: hidden;}
H1 {font-family: 'Segoe UI', Arial;font-weight: lighter;color: #0094ff;}
#message {text-align: center;vertical-align: middle;width: 100%;}
#contents {margin-top: 25%;}
#offline {position: fixed;bottom: 0;text-align: center;vertical-align: middle;
font-size: 70%;background-color: #ffffcc;padding: 10px;margin: 10px;border: 1px solid black;}
</style>
</head>
<body>
<div id="message">
<div id="contents">
<h1>Site Under Maintenance</h1>
<p>This site is currently under maintenance. We should be back shortly. Thank you for your patience.</p>
</div>
</div>
</body>
</html>
 
New Post
8/5/2014 2:55 PM
 
app_offline.htm should still work - it is an IIS Feature, not a DNN specific solution

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...app_offline.htm - Doesn't workapp_offline.htm - Doesn't work


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out