How to Move a DNN to a New Server
DotNetNuke (DNN) is a development platform that lets webmasters create sites based on the .NET programming platform. The software is compatible with Microsoft IIS servers, which host VB.NET or C# Web applications. When you move a DNN site, you must first create a new site in the DNN admin, then move the database and files.
Instructions
-
-
1
Open a Web browser and log in to your current DNN server. If you want to move the files on the current server, you create the new HTTP alias site on the current admin console. If you move the site to another server, open a separate browser tab and log in to the second DNN administration console.
-
2
Click the "Site Settings" button and select "Add New HTTP Alias." Type a name for the new site and choose a folder where the site files are located. You can create the site alias before you copy the files.
-
-
3
Create a backup of your database. SQL Server has a backup feature you can use from SQL Server Management Studio. If your Web host has a custom interface for the SQL Server, you must use the host's interface. To make a backup from the SQL Management Studio software, right-click the database, click "Tasks," then click "Backup." Select a location for the backup and click "OK."
-
4
Move the backup of the database to the new DNN location. Again, if you use your host's interface, you must restore the database to the new location using the host's custom software. In SQL Management Studio, right-click the new database name and select "Tasks," then "Restore." Choose the backup file and click "Restore." The database transfers to the new server.
-
5
Move the current DNN files to the new folder location specified in Step 2. Most hosts have a custom interface you must use to manipulate files on the Web server. Copy all files and folders to preserve the DNN file structure to the new host server. Ensure that you place the files in the same location as the HTTP alias setting in Step 2.
-
6
Edit the web.config file for the new SQL Server connection string. You must change the server's name in the connection string section of the web.config. Right-click the file and select "Open With." Click "Visual Studio." In the "<connectionString>" section, change "server" with the new name of the SQL Server.
-
1