Published on: 21 July, 2013

How to Install DotNetNuke?

Posted by andy | 6565 views 1 likes 1 favourites 5 comments
Tumblr Digg Google Plus

To install DNN is pretty easy, you just need to follow our step by step tutorials. The example given is using IIS 7 with SQL Server 2008 R2 and run in local computer.

1. Download DotNetNuke Community Edition from Codeplex.

Please visit to download the latest DNN installation file.

2. Create website folder in your wwwroot folder.

Create a website folder and setup the permission for the folder to allow Network Services has the Change permission. Copy the completed zip file and extract all the files under this folder. See below image screenshots for more details. In this example: the folder name we created we named it My Website.

Right click the folder and select Properties.

Go to the Security Tab and see if Network Service user/group is already in there. If it doesnt, click the Edit Button.

It will display a list of users/groups available. If the Network Service is not available, click the Add button.

Click the Advanced button to show the list of available users/groups.

Click the Find Now to list all the users and start looking for Network Service Group/User and then click OK

Click the Network Service Row and tick Allow checkbox in Modify permission

Usually the website folder is hosted or placed under C:/inetpub/wwwroot. But it will depends on your server environment, it can be hosted outside of this folder as well.

3. Create SQL Server database.

In order to create the SQL Server database, you will need SQL management studio tool and SQL Express 2008 installed on your server. You can download these software from microsoft official website. We assume those software have already been installed on your server.

Enter the database name.

Create new user that will associate with this database. On the server explorer tree, look for the security folder and right click to create a new user login.

Enter the login name and make sure you click the SQL Server authentication mode. Untick the Enforce password expiration and change password at next login. Also in the Default Database dropdownlist, please select the created database.

Next is to map the ownership of the database to this user account.

4. Setup IIS for new website.

Open the IIS and add a new website.

We enter the website address in the provided url address. Note in this example, as we run the site locally, we need to modify host config file to temporarily host the url.

The next step is to setup the application pool properties. This is important and has to be setup properly otherwise the site will have a permission issue.

Look for the application pool named mywebsite and right click and choose Advanced Settings

Make sure the ASP.Net version is 4.0 and Network Service is selected for the identity field.

5. Configure Host file (Only if the DNN run locally).

The hosts file usually located under: C:\Windows\System32\drivers\etc. As the file does not has an extension, you will need to open it using NotePad or other alternative text editor. Note: if you get a permission issue, you have to edit the file as administrator account.

By following up the example given, you just need to enter the local ip address and then website url. In this case, it will be like the following image:

6. Launch the website to start configuring DNN.

Open a web browser in your computer and enter the website address If everything is setup properly, you will see the following page.

By default the super account username is host, it is recommended that you change this to other name. For the website information section, you can select the template as blank template, this will not create any pages on the site, if you choose default, it will load some basic content and pages.

For the database setup, choose Custom option and the database type as SQL Server. You will need to specify the Server Name, by default server name is .\SQLExpress, but in this example, we set the sql server name differently, so specify the value accordingly. In the security option, please select user defined, as we have already create a user login for the database account. Make sure the database owner checkbox is ticked. Once all done you can click Continue button.

Commented on: 01 Feb, 2016 09:12:59 PM
Hi, This is very helpful link about dotnetnuke. I have installed and work successfully. thank you very much. I need one more there any simple tutorial for beginner about dotnetnuke for further development???
Commented on: 05 Feb, 2016 12:54:50 AM
Hi Samar, Just want to let you know that I have created a quick and simple tutorial for your first DNN module extension project. I hope you find the tutorial useful. DNN Hello World Module extension example
Commented on: 13 Apr, 2016 12:19:31 AM
Very helpful, Thanks a lot <3
Commented on: 06 Feb, 2017 09:19:25 PM
thanks alot for helpful document. I've done all steps, but at six the following error occurred: "HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll" failed" can you hep me???
Commented on: 06 Feb, 2017 09:40:25 PM
Please check the following items. - You may need to install 4, if you are using higher dnn version - Make sure you set your ASP.Net version in 4.0, this is located in the application pool. Just right click and check the advanced settings.
Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.
Related Articles
Published on: 22 May, 2016
If you want to use Gmail SMTP in your DNN website, this can be easily done by specifying the correct port 587 in the SMTP settings. Unfortunately, there is no port number field supplied in the SMTP settings form. So in order to include the port number, you just need to add the in the SMTP settings.
Published on: 21 May, 2016
There are two options to setup the skin template into the DNN website, the first option is to globally set all pages using the default skin template and the second option is to set the skin template manually to each page. Usually when you create skin templates in DNN, there are at least 2 skins will be created. One would be the home page skin and the rest is the generic page skin.