Print

SiteGround Tutorials


DotNetNuke Tutorial

DotNetNuke application is no longer compatible with SiteGround hosting services!

DotNetNuke is an open-source, ASP-based CMS, which is an excellent solution for developing projects such as commercial websites, corporate intranets and extranets, and online portals.

DotNetNuke tutorial covers the following topics:



(c) Copyright 2006 SiteGround web hosting services. All rights reserved

You may use this tutorial for your own use. You may not distribute it in any form without the express permission of the publisher. You may provide a link to the publisher's web site, where this tutorial can be used from. This tutorial is provided free of charge and without any warranty of any kind.

DotNetNuke Installation

How to install DNN on your website

DotNetNuke application is no longer compatible with SiteGround hosting services!

To be able to setup the Dot Net Nuke application on your ASP hosting account, first you should configure the application's requirements as appropriate. The Dot Net Nuke application requires a MSSQL database and Virtual Web directory to be created trough your Plesk control panel.

Go to the Plesk login page and enter your login credentials. Confirm them by clicking on the Log in button.

Choose the domain name you want to operate over by clicking on it at the bottom of the page as it is shown on the picture bellow.

How to create a MSSQL database

Here first you should create a MSSQL database. To be able to manipulate your databases and database usernames you should click on the Databases icon.

The Dot Net Nuke application requires a new empty database for its installation. Here you will be able to create it by clicking on the Add new database icon.

Choose your Dot Net Nuke database name and select MSSQL as a database type. Please note that the Dot Net Nuke application currently is not compatible with the MySQL database and thus it would not work with it.

Add a username assigned to have privileges to the database you have just created by simply clicking on the Add new database user icon.

Fill the form as appropriate and confirm the action by clicking on the OK.

How to create a Virtual Web directory

Go back to the domain name by clicking on it at the top of the page as it is shown on the picture below where you should now create a new web virtual directory.

This could be easily done by clicking on the Web Directories icon.

You need a new one, so choose the Add the new virtual directory icon.

Choose the virtual name and enter the path to your web root folder.

If you are planning to install the DNN application in a subfolder of your domain name (for example in http://win.lamzo.com/newdnn) please make sure that you have entered the full path to that directory (in this case /httpdocs/newdnn).

The Dot Net Nuke application requires special permissions in order to operate normally so tick the boxes as shown on the picture. Select the script and executables for Execute permissions and apply the changes by pressing the OK button.

Download and Install DNN

You are now ready with the dependencies (MSSQL database, Virtual Directory) for your new Dot Net Nuke portal.

It is time to download the application itself. The Dot Net Nuke project has its own web page which is located at http://www.dotnetnuke.com/. Open this page and please point your browser to the Downloads button.

The Dot net nuke authors require FREE registration process to be passed before you can download the application. Click on the register hyperlink and follow the registration instructions. If you are already registered you could simply skip this step and go to the download section directly.

Fill the required boxes and click register. Once you are done you will receive an auto-generated e-mail message with the account activation code on the e-mail address you will enter in this step so make sure you will provide a valid one.

Get the account activation code by checking your e-mail box and copy it. Click on the login button. Once you have entered your username and password you will be asked you for the Verification code. Enter it as appropriate and click login.

Here you will need to download the Dot Net Nuke SOURCE files (the highlighted one on the picture bellow) by clicking on the Download hyperlink at the right side of your browser.

You will be redirected to the Source Forge download page where you should select the mirror to download the application from and click the download button.

The download process will be started shortly and when it is finished please, save the application archive in a separate folder on your computer.

You should extract the archive you have just downloaded in a separate folder.

Go to the extracted files directory.

Navigate to the "Website" subfolder.

Copy the relase.config file to a file with a name web.config. You can simply rename the relase.config file to web.config but if you mess up something you will have the core relase.config file untouched.

Rename the copy to web.config

In order to be able to make your new Dot Net Nuke application to work properly your should modify the web.config file. This could be easily done by open it with the text editor of your choice such as WordPad and Notepad.

Find the highlighted lines delete them by pressing your DEL button or choose the Cut option from the right-click menu

Cut the commentary closing tag as shown on the picture and paste it at the end of the line as it is shown on the next picture.

Paste the closing tag here or you can simply enter it manually.

Adjust the settings on the following line with the database details you have created via the Plesk control panel (see above) in the initial step.

There is one more connection string you should adjust in the web.confg file.

Find and delete the following lines using the cut/DEL button of your text editor.

Cut this tag and paste it 2 lines above, at the end.

Paste it here.

Modify the database details as appropriate.

The editing of the web.config file is now finished. Please save the changes you have just made by clicking on the File -> Save button.

There is one more file you will need to edit. Once you are done with it you will be ready to upload and install your Dot Net Nuke portal.

You should locate the DotNetNuke.install.config file which is typically located in the Install subfolder. Once you find it please open the file with your favorite text editor.

Find the following line:

<HostURL>http://www.dotnetnuke.com</HostURL>

and replace it with your website address:

<HostURL>http://www.your-new-dot-net-nuke-portal.com</HostURL>

When you are done, please save the changes and proceed to the next step.

Upload the contents of the Website folder to the desired location of your website using your favorite FTP client application.

Once the upload process has finished you should give read, write and execute permissions for the IUSR and IWAM users for all of the DotNetNuke application files and folders. This can be easily done via the File manager of your Plesk control panel. Once you apply them proceed to the next step. If you experience any difficulties to do this by yourself, please do not hesitate to post a ticket and our support team will be more than happy to assist you.

Now it is time to finish your Dot Net Nuke installation by pointing your web browser to the URL where you have just uploaded the files. The installation process will begin automatically and after a short period of time a screen similar to the picture bellow should appear in your web browser.

Click on the link at the bottom of the page and you will be redirected to your new DNN portal.

You are now ready with the Dot Net Nuke portal base installation.

Please bear in mind that the first thing you should do after the installation process is to change the default passwords with a more complex one for the admin and host accounts due to security reasons. The application comes with 2 default accounts installed. The main superuser account username is host. The administration username is admin. Their default log in details are as follows:

Login: host
Password: dnnhost

Login: admin
Password: dnnadmin

The default passwords could be easily changed by logging into your portal with each of these accoutnts and proceeding as shown on the pictures bellow.

Click on the SuperUser account hyperlink at the right side of your portal.

From this page you should modify your personal settings. To change your password click on the Manage Password hyperlink.

Enter your current Dotnetnuke password and confirm the new one by entering it twice.

To change the password for the admin account the steps you should take are the same.

Well done! Now you are ready with your DotNetNuke installation!



(c) Copyright 2006 SiteGround web hosting services. All rights reserved

DotNetNuke Themes

Learn how to customize your DNN look

DotNetNuke application is no longer compatible with SiteGround hosting services!

To be able to administrate your freshly installed Dot Net Nuke portal you should login into the DNN admin panel as it shown on the picture bellow.

To be able to upload end manipulate the skins of you page point the mouse over the "Admin" and select "Skins" from the drop down menu.

From the left corner of the page you will be able to select to upload your own skin from the Drop down menu.

Select the skin package you wish to upload by the Browse button and confirm the action by clicking on the "Upload new file" hyperlink.

After the Upload process has finished, you will be able to see the custom log information. Scroll down to the bottom of the page and click "Return"

From the "Skins" and "Containers" drop-down menus select your skin package and the web page will be shortly refreshed.

You have the actions to preview, delete or apply your skins. To apply the skin you have chosen, just click on the Apply link under its image and it will become the theme of your Dot Net Nuke portal. The same way you can change the skins of your containers (menus).

Well done! Now you are able to view your new theme by going to your home page.



(c) Copyright 2006 SiteGround web hosting services. All rights reserved

DotNetNuke Modules

Learn how to install DNN Modules

DotNetNuke application is no longer compatible with SiteGround hosting services!

By default the Dot Net Nuke application comes with a lot of modules included in its base package. The process for setting up any of them is easy as 1-2-3.

Learn how to install DNN Forum Modules

Here in three steps you will learn how to install the Forum module and how to administrate it.

Once you are logged into your portal with the host or admin username, at the top of the page you will be able to see a menu similar to the one shown at the picture bellow. Please, select the "Add New Module" by clicking on the radio button. From the module drop-down menu select "Forum". Enter a title of your choose which will be displayed as a title of your future forum. Choose a specific location where you want your forum to be shown from the "Pane" drop down menu. Adjust align and apply the new forum settings by clicking on the "Add" button.

After the page is refreshed you will be able to see your Forum in the location you have selected in the previous step. To fine tune your forum settings, simply click on the Settings icon, located at the right-hand side at the bottom of the forum panel, and you will be able to adjust numerous of features of your forum appearance.

Additionally you will be able to administrate it by simply holding your mouse cursor at the top left corner of the Forum panel and make your choice from the drop down menu.

Learn how to install additional DNN Modules

DNN allows you to add a number of ready-made modules such as Blogs, Galleries, Calendars and other handy tools. They will make your website a better place to visit. The installation of these tools is quite easy - you should simply undertake the three steps described above!

Learn how to install a custom module in DotNetNuke

When you download or buy a DotNetNuke plug-in module, it is delivered as a single .zip-compressed archive file. All you have to do is upload the archive file to the DotNetNuke portal, and DNN will install the module for you.

Go to the host menu and select the Module Definitions.

Here you can see the list of the pre-installed modules. At the top left corner (and on the bottom of the page) there is a drop down menu, where you will be able to see "Upload Module" link.

Browse to the folder where your module is located and select the package you want to upload to your Dot Net Nuke portal. Then click on the "Upload New File" link

The screen will now be full of installation messages. If no errors are reported you will see Success at the bottom of the page.

Now the module is installed and you can place it on any page you like, just as you did with the Forum module during the previous module installation.

We told you it was easy ;).



(c) Copyright 2006 SiteGround web hosting services. All rights reserved

DotNetNuke Security

Learn how to secure your DNN website

DotNetNuke application is no longer compatible with SiteGround hosting services!

In order to prevent your DNN portal from hacker attacks, please make sure you are using a strong passwords for the MSSQL DotNetNuke databse, host and admin accounts.

Please, refer to the articles below to learn more about how to write secure .ASP applications:

Writing Secure ASP Scripts, by Chris Anley

Secure an ASP.NET Application by Using Windows Security, by Ramakrishna Jillellamudi



(c) Copyright 2006 SiteGround web hosting services. All rights reserved

DotNetNuke Resources

Find more DNN resources

DotNetNuke application is no longer compatible with SiteGround hosting services!

Below you will find more documentation resources, modules, skins, themes and references for the Dot Net Nuke application:

Dotnetnuke official webpage

DNN Creative Magazine

DotNetNuke Articles

Latest DotNetNuke Articles @ DnnGear.com

DNNStuff & DotNetNuke News

DotNetNuke Skinning Articles

Free DotNetNuke skins

Wikipedia article about DotNetNuke

Please, feel free to contact us if you have any questions or recommendations about this tutorial at: tutorials 'at' siteground.com



(c) Copyright 2006 SiteGround web hosting services. All rights reserved