Welcome to the Community Exchange

Welcome to the Community Exchange, a place where community members can exchange questions and answers related to DotNetNuke. If you would like more info about the Community Exchange, please visit this page in our Wiki. 

How to reverse deploy a website to a local host

I have a website developed by a consultant on his laptop.  The website was deployed to GoDaddy for hosting.  Since the launch, the consultant has left and did not copy the development environment to a local pc.

Is there a method to download the DNN website and modify the pages locally?  We are finding that the directory structures refer to drives on the consultant's laptop and not local drives.

asked 8/15/2012
Mark2
Mark

2 Answers

Don't forget that this is only usefull for testing purposes (or if you want to move the website). Don't use it if you want to alter a page and then "publish" it to your live website. 

In general your moving the complete website from production to test (or vice versa). 

If you want to create pages which shouldn't be live, just set the page permissions to admin only so they won't show up for regular visitors.

answered 8/16/2012 Peter Nuiten 3
Peter Nuiten

You definitely can take a backup of a production site and restore it on a local machine to develop or test against.  This is quite common and done in most deployment scenarios.  

You would follow the same process as if you were restoring the site in the same location, only you would possibly need to:

  • Run a SQL query to change HTML module link/image references
  • Change the domain name (Site Alias) that your site responds to
  • Change the database connection string in the web.config

There are other possible changes to be made, but this is pretty much it.  Just reverse the process you would follow if you were deploying a development site into production.

ErikVB has blogged about moving a DNN installation, along with providing some other related resources that should be of great help to you.

On a final note, please find another web host.  ;)

answered 8/15/2012 Will Strohl 349
Will Strohl

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...




10 inform moderator flags remaining

I am deleting this question because...




I am flagging this answer because...




10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...




DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.