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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Question Re: Site Promotion Test to ProductionQuestion Re: Site Promotion Test to Production
Previous
 
Next
New Post
12/6/2006 11:48 AM
 
I'm a newbie to DNN, helping to evaluate it for a client. I have a question regarding promotion of a site from dev/test to production.

Say, for instance, that my client has a complete test environment identical to their production servers. We create a complete, functional site in test for their users to determine if it suits their needs. This would potentially be hundreds of pages for a multi-user, multi-client installation. Once it passes testing, we need to recreate all the pages exactly as they appear in test on the production environment. How does that happen? I assume that the page definitions are located in the DNN data store or am I misreading how this all works? Is there a tool to migrate the pages from one database to another.

If someone can point me towards the correct documentation for this requirement it would be greatly appreciated. Thanks.

 
New Post
12/6/2006 12:46 PM
 

hmm.. well, documentation is a bit beyond DNN, as the question you are asking is mainly a db management question. This is how it works:

DNN is a web application that stores all dynamic content in a DB, files are stored either in the DB (with secure file system), or in a physical file system folder (usually /portals/[portalid]). The connection to the DB is definined in web.config. One of the important things is you have to realize is that because DNN offers site virtualization, ie. one instance can serve many different websites (portals) with different domain names, domain names (portal aliases) are stored (per portal) in the db as well. If you should move the complete dnn installation and db from a dev environment to a live environment, you have to make sure that the dnn instance running in the live environment can find an http alias that actually points to a portal in that instance. The easiest way to accomplish that is to add the http alias for the live environment to the portal prior to the move from dev to live.

Moving a site from dev to live really just comes down to the following:

  • (in dev environment) add http alias that point to live environment to all portals
  • copy all files from dev to live
  • copy db from dev to live (either by doing a backup, or by using a tool such as red-gate sql compare and sql datacompare)
  • (in live environment) point iis website to proper dnn root
  • (in live environment) edit sql connectionstrings in web.config to point to live db server and database
  • browse to live site

Of course, you have to make sure that also in the live site all permissions are correct. Often permissions in a dev environment are less secure than on a live web server, so setting the proper security settings might need some attention. You can look in the installation documentation for that.

HTH

Cheers,

Erik


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
12/6/2006 1:49 PM
 

Thanks Erik. This is pretty much what I expected. I was aware that the content was maintained in a database repository, and it makes perfect sense that way. However, that makes promotion of modifications more complex than just copying new files to the production server. I was hoping that there was an automated process within DNN to do promotions, but I expected not, and you confirmed that.

Backing up the test DB and restoring to production works great for the initial rollout, but subsequent changes, when validated in test, would have to be rolled out by performing a database diff as you suggested, as well as remembering to move any modified external files. I could see the diff process as being a something that requires human review after the diff utility spits out a script. Again, it's what I expected, I just needed confirmation.

Thanks for the tip about the http alias situation. I'll keep that in mind. This helped quite a bit.

Bob Mc.

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Question Re: Site Promotion Test to ProductionQuestion Re: Site Promotion Test to Production


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