Setting up Development DNN Site From Existing Site



Notes on  Setting up Development DNN Site From Existing Site

*Suggestion.  Make backups of your stuff before doing anything! 

a. Make backup of the site database.  Restore it to a different database name.  Fix users if necessary.  I the DNN db’s  [PortalAlias] table input what the subdomain and domain will be (like subdomain.domain.com).
                b. ON the web server , create a copy of the site folder.  Make sure to change the web.config Connectionstring and Appsettings to point to development databses. In IIS Make a new Entry for a new site for the Development one, match it to the site copy of the folder.  Check the .net versions are the same (4.0 ,2.0 or 3.5, or whatever) in the App Pool.
                c.  On domain controller find in the “DNS Manager program”.  Right click select new host (“A or AAAA).  Enter in the sub domain on the top.   
                d. Take that new fully qualified name (like subdomain.domain.com) and bind it to the site in IIS.  May need to disable any url rewrite rules.

--------
Update 20150615
*Make sure that you have no portal aliases in your development DNN site that point to the live site.  You might be in for a surprise when unknowingly it will change the alias on you to your live site from your dev.  That happened to me when testing out a different skin and then I was in a semi-panic to restore the live back to the way it was.  Was not too bad, only took 10 minutes, but the Home page needed some custom appearance.  Good thing I made notes of the site themes and containers.

Comments

Popular posts from this blog

Asp.net Publishing Broke Site - "App_WebReferences is not allowed because the application is precompiled"

Telerik - Custom Group Footers In RadGrid

Bootstrap Modal Popup is Grayed Out