• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc
Show / Hide Table of Contents

Enable and Set Up IIS

DNN Version: 09.02.00
03/09/2022 • 3 minutes to read
Contributors  david-poindexter
03/09/2022  • 3 minutes to read  • Contributors  david-poindexter

Prerequisites

DNN installed with folder permissions for the user account that will run your website.

Steps

  1. Enable IIS.
    1. Check compatible versions.

    2. Go to Control Panel > Programs and Features > Turn Windows features on or off.

      Turn Windows features on or off

    3. Under Internet Information Services, turn on the following:

      • Web Management Tools: IIS Management Console
      • World Wide Web Services
        • Application Development Features: ASP.NET 3.5 and 4.6
        • Common HTTP Features: Default Document and Static Content
        • (Optional) Security: Basic Authentication
      • Internet Information Services Hostable Web Core

      IISUpdated

You can create a new website or set up an existing one for use with DNN. Choose one of the next two steps.

  1. To create a new website and point it to the DNN installation folder:

    1. Go to Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.

    2. In the Connections panel, expand your host tree, right-click on Sites, and choose Add Website.

      In Connections, Sites, then Add Website"

    3. Enter the new website's name and choose the location.

      Enter the new website's name and choose the location.

    4. Enter the Host name.

      Developers and Designers: If setting up a local development environment, you can use www.dnndev.me (or any subdomain). DNNDEV.ME is a registered domain which points to the loopback address of 127.0.0.1, so it will always resolve locally.

      Administrators: If setting up a live website, use your website's domain.

      For local, use www.dnndev.me.

  2. To use an existing IIS website:

    1. In the Connections panel, right-click on the name of the existing website, and choose Edit Bindings....

      Right-click on the website's name and choose Edit Bindings.

    2. In Site Bindings, click/tap Add.... In Add Site Binding, enter the Host name.

      Developers and Designers: If setting up a local development environment, you can use www.dnndev.me (or any subdomain). DNNDEV.ME is a registered domain which points to the loopback address of 127.0.0.1, so it will always resolve locally.

      Administrators: If setting up a live website, use your website's domain.

      For local, use www.dnndev.me.

  3. If you do not use NETWORK SERVICE as the user account to run your website, verify that IIS AppPool\AppPoolName has Full or Modify permissions for the DNN installation folder.

    The account IIS AppPool\AppPoolName is automatically created by IIS.

    Note

    For security best practices, you should use either an App Pool Identity or an individual machine/AD account (often used by Control Panels) - not a Network Service. An App Pool represents a way to separate web applications from one another and prevents them from harming each other or their environments. Thus, you should generally only assign one worker process to one App Pool.

    See Set Up DNN Folder and the User Account.

DNN Wiki: Setting up Your Module Development EnvironmentSetting up your DotNetNuke Module Development Environment by Chris HammondDNN Community Blog: Installing DNN by Clinton Patterson
Back to top by the community, for the community... #DNNCMS