dotnetnukedotnetnuke-7maintenance-mode

Disabling website to everyone except portal administrators or host users in DotNetNuke 7?


Is it possible to disable a DNN portal, or an entire DNN installation to everyone except administrator / host users?

I need to update a DNN website and apply new themes to differant sections of the website, however this will take some time on the live website.

I'd like to achieve similar to this "Wordpress Maintenance Mode" module plugin.

I'm aware of using the APP_OFFLINE.html file to disable the entire website, however we need a couple of admins to go in and make changes whilst keeping everyone else off the website.


Solution

  • There isn't a maintenance mode in DNN. What I would do is the following.

    Setup a new website in IIS, beta.mywebsite.com. Have that website point to your Existing DNN folder.

    Point your current website to a new folder with the App_Offline.htm file/message in place. Then have your admins go to the beta.mywebsite.com URL instead of going to the www version of the URL.

    That would probably be the most straightforward way to do this for DNN without writing a custom maintenance mode module for DNN.