Hello...
I'm trying to transfer my site to WebHost4Life. I had it up and running on my local WHS server fine. I followed all of the directions for migration exactly. They where as follows:
When I type in my domain I just get the generic "this site is under construction" page. It seems to be pointing to the install/underconstruction.htm Any help is greatly Appreciated. Thanks.
To transfer and migrate your exisitng DNN site, you need to:
1. moving your files
2. moving your database
3. configuring your web site.
1. moving your files
- Get a copy of your DNN files. If you were hosting your DNN from other hosting company, you can consult with the company and download them from FTP.
- Next upload your DNN files to your hosting account folder using FTP. Your FTP information can be found from your hosting control panel. The location of the files you should upload to depends on the path your domain point to. eg. If your site is http://mydnn.domain.com and you have created this subdomain from your hosting control panel and pointed to path c:\....\member\yourmemberID\DNN, then you should upload to DNN folder from FTP. This is because your ftp root is pointing to c:\....\member\yourmemberID. For help on using ftp, please refer to this article.
2. moving your database
- make a database backup of your database. Note, this is backup file generated from the database server, not a raw database file and log file ending with mdf and ldf
- create a database with the same name and same login id from your hosting control panel
- from the mssql database menu in hosting control panel, click on "restore db" next to the new database you recreated. You will find a "Click here to create FTP access to the Database server, if you haven't do this already." link to create your ftp account to upload your database backup file. Follow the instruction to create the ftp account
- Now upload your database file through the new ftp account. When it is done, go back to the mssql admin page in hosting control panel. Click on "restore db", enter the information and click restore.
- Now you have your database migrated.
3. configuring your web site
- you need to configure file permission, edit your connection string, and configure your asp.net application to fit your DNN
- go to hosting control panel -> security -> file permission. Find the folder that contain your DNN files. Click the the "EDIT" button, give "NETWORK SERVICE" "Full Permissions".
- control panel -> File Manager, go into the folder that contains your DNN files. Find within the folder there's a file named "web.config". Your connection string is located in this file. You can edit the file from the file manager. Update the connection string to use your new database. Note, DNN 3.22 and later has two connection strings, please make sure you update both.
- If your DNN site is in a folder under your domain, eg. http://domain.com/mydnn, go to hosting control panel -> site admin -> .NET Application. Click "GO" next to your domain, click on "set application' icon next to the folder your DNN site is at. Now you have the folder set to a seperated asp.net applicatoin and it is displayed on top of the screen.
- If you are using DNN 4 and later version, you also need to click on "change .net version" to asp.net 2.0 from the same screen.
- If your DNN site is at the domain root, eg. http://mydnn.domain.com or http://domain.com, and, is DNN 4 or later, go to hosting control panel -> site admin. Click on "change root's .net version" next to the domain for your DNN, change it to asp.net 2.0.