Learn More





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 ...DNN cloneDNN clone
New Post
6/17/2013 2:39 PM

Our web server was just cloned so that we can have a staging environment. What steps do I need to take so that the database on the production server is not written to?

Here is what I am thinking - modify the connection strings in web.config on the clone so it references Database_test instead of Database and then rename Database to Database_test. Is this all I need to do to be 100% safe from overwriting the live server? I am particularly nervous because the 1st thing I intend to do with the staging environment is upgrade DNN CE 5.6.2 to the current version 7.

Your feedback is welcome and very much appreciated.

New Post
6/21/2013 10:35 AM

Hello Kyle, 

Any sort of staging you do should not be done on the live site or database. If you are looking to do this and not have any chance of affecting your live site or database you would need to clone the site completely (meaning DNN files and the database) and clone that over so that it's separate from the live site. This will give you a sandbox to play in that is on a different application pool, separate site files, and separate database. 

Also I am not certain that you perform an upgrade like that because the database is tied to the web.config file via machine keys and you may not be able to connect to the new database just by the connection string. I think you're best and safest way to do this is in a completely separate staging environment. 

Johnny Gregory Senior Technology Consultant o: 1.877.743.8366 x701115 skype: johnny.managed ​ Advanced CMS Hosting and Support for Business Websites DNN - ElcomCMS - WordPress - nopCommerce - Drupal Need a Developer?
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN cloneDNN clone

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?