Below is a step by step installation procedure to install DotNetNuke portal version 5.x on WinHost servers.
We do not support the DotNetNuke Portal software. If you run into
installation problems, you are welcome to use our forum or the ASP.net forums for peer support. DotNetNuke is very resource intensive in its default installation! We recommend disabling any modules or features that you do not intend to use.
Note: The following instructions are written for DNN 5.0.0. Other versions may have some slight differences.
A) Get DotNetNuke 5.x and upload to web server
- Download DotNetNuke 5.x "Install" Version from DotNetNuke.com
- Extract the content to your local machine
B) Customizing the web.config file
- Open the Web.config file with any text editor.
- Update the database connection information
1) In the <connectionStrings> section
Replace:
| <connectionStrings> |
| <!-- Connection String for SQL Server 2005 Express --> |
| <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" /> |
| <!-- Connection String for SQL Server 2000/2005 |
| <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" /> |
| --> |
| </connectionStrings> |
with:
| <!-- Connection String for SQL Server --> |
| <add name="SiteSqlServer" connectionString="THE ENTIRE CONNECTION STRING LOCATED IN THE SQL SECTION OF YOUR CONTROL PANEL" /> |
| </connectionStrings> |
2) In the <appSettings> section
Replace:
| <appSettings> |
| <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules --> |
| <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" /> |
with:
| <add key="SiteSqlServer" value="Data Source=tcp:YOUR SQL SERVER NAME;Initial Catalog=YOUR SQL DABASE NAME;User ID=YOUR SQL USERNAME;Password=YOUR SQL DABASE PASSWORD" /> |
To avoid any conflicts, we recommend using a fresh database for the application install.
C) Upload all the files to your web site account. We recommend
uploading DotNetNuke into a subdirectory. We DO NOT recommend uploading
DotNetNuke to your document root directory.
D) Create an Application Starting Point
E) DotNetNuke Setup
Open your browser and navigate to http://www.HostingAccountDomain.com/DotNetNuke_subdirectory
DotNetNuke will setup all the database objects when it first loads.
This process MAY run for several minutes. DO NOT hit the stop button on
the browser
Warning: If you install DotNetNuke in your document root directory, your other .NET applications under the root may fail.
For more information on DotNetNuke, you can review the documentation
under the /documentation directory/. For DotNetNuke support, please
visit ASP.NET Forums.