Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Transfering DNN sites with PleskTransfering DNN sites with Plesk
Previous
 
Next
New Post
3/1/2008 1:30 PM
 

For those of you looking for help when you move DNN sites from dev to production AND running Plesk, here's my-way:

Database management

• Login to development DNN site as ‘host’
• Add the new domain as an additional http alias (no 'http' prefix) to the current portal - DO NOT create a new portal alias!
• Using Plesk create a new db in the client’s domain (different db name and different db user name to the development DNN db)
• Using MSSQL Management Studio > Select DNN development db > Tasks > Backup (this will fail if the db wasn’t created by Plesk!)
• Highlight databases > Restore > ‘From database’ choose DNN dev db’. ’To database’ choose new db created in Plesk.
• Options > ‘Restore as’ ensure points to the new files. And ‘Overwrite the existing db’ is enabled.
• Select new db > Properties > files > change Logical name to new db name
• Recreate a new user in the new db which replicates the one Plesk originally created – otherwise Plesk won’t be able to delete it or backup


Connection string

• Copy the complete root IIS folder from the dev domain to the new domain
• Change the connection string in web.config file in the root to new db name and new username. Best thing is to simply search for old db name and replace.
• Restart domain – this triggers the read of the new web.config settings

Took me AGES to work this lot out, so hope this helps someone else..
Lea

 
New Post
3/2/2008 4:20 AM
 

Update as there doesn't seem to be edit facilities in this forum?

 

[B]Database management[/B]

• Login to development DNN site as ‘host’
• Add the new domain as an additional http alias (no 'http' prefix) to the current portal - DO NOT create a new portal alias!
• Using Plesk create a new db in the client’s domain (different db name and different db user name to the development DNN db)
• Using MSSQL Management Studio > Select DNN development db > Tasks > Backup (this will fail if the db wasn’t created by Plesk!)
• Highlight databases > Restore > ‘From database’ choose DNN dev db’. ’To database’ choose new db created in Plesk.
• Options > ‘Restore as’ ensure points to the new files. And ‘Overwrite the existing db’ is enabled.
• Select new db > Properties > files > change Logical name to new db name
• Recreate a new user in the new db which replicates the one Plesk originally created – otherwise Plesk won’t be able to delete it or backup


[B]Connection string[/B]

• Copy the complete mydomain/TestSite root IIS folder from the dev domain to the new domain
• Change the connection string in web.config file in the root to new db name and new username. Best thing is to simply search for old db name and replace.
• Restart domain – this triggers the read of the new web.config settings

[B]Update image links[/B]

If your original DNS test site was beneath a virtual directory i.e. mydomain/[B]test[/B] and you move it to newdomain.com root, all pictures will fail.  So update all image links by using the [URL="http://www.engagemodules.com/Modules/EngageF3.aspx"]'Engage F3' [/URL]module.


Took me many hours to resolve this lot... 
So hope it helps others.

Lea

 
New Post
3/2/2008 5:52 PM
 

Excellent, thanks for posting that for everyone

Rob

 
New Post
3/4/2008 6:10 PM
 

Hi was this done on your own server or an external host?

thank you

 
New Post
3/5/2008 2:44 AM
 

Unfortunately I didn't make clear that this is rather a guide for Hosts, rather than for  everyone as most will not have access to the underlying file structure - unless you run a VPS of course.

However, my understanding is there are several applications that allow a full backup to be made without host intervention so these may offer an alternative solution for others.

Lea

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Transfering DNN sites with PleskTransfering DNN sites with Plesk


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out