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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...UPDATED : Moving a HOSTED 4.8 DNN Website to a LOCAL PC UPDATED : Moving a HOSTED 4.8 DNN Website to a LOCAL PC
Previous
 
Next
New Post
9/10/2008 10:12 AM
 

I am looking to take a hosted DNN website with an assigned domain to a local PC to work on it locally. This is a prototype company website I have been working on and I am looking to hand it over to the company. Before I do, I want to finish it off on my local PC (the current host is far too slow) before I re-deploy it to a faster hosting provider.

This is the script I have so far (provided in part by Peter Donker - Thanks Peter), I have some further questions in uppercase:

1. Zip up the whole DNN directory. Name it something silly, put in the web root, and download to your PC

DONE :-)

2. Make backup of SQL database. Zip it, put in web root and download.

DONE... DOWNLOADED AS A .BAK FILE (IS THAT OK?)... IN FACT DOWNLOADED ALL FILES AND THE .BAK FILE USING FTP...ALL SEEMS OK I THINK...

3. Delete zips (from your live webserver).

I PRESUME YOU MEAN CLEAN UP AFTERWARDS SO I DON'T USE UP MORE SPACE THAN REQUIRED ON MY CURRENT HOSTING ACCOUNT? GOOD IDEA...

4. Unpack first zip to your HD. Open properties of root and set NETWORK SERVICE to have full access. Unify on all children.

AM I RIGHT IN THINKING THAT YOU DO THIS IN WINDOWS EXPLORER USING THE 'PROPERTIES' OPTION IN THE RIGHT-CLICK DROP DOWN MENU?

5. In IIS either add this as a new website or a new virtual dir under an existing one. The procedure will be slightly different, but both should work. If adding as a new website make sure to set host header and to announce it in the hosts file. I often use this to copy www.someclient.com to local.someclient.com. Make sure in IIS to set the application and set ASP.NET to be framework 2.0.

GOT IT :-)

6. Open SQL Manager and restore the database. You'll need to edit the location of files most likely.

IS THIS STORED IN A DNN SQL TABLE (WHICH ONE) OR IS THE EDIT FOR THE LOCATION OF FILES SOMEWHERE ELSE?

7. Open DB and add your local account through which you will access the database from DNN.

GOT IT :-)

8. Open PortalAlias and edit the alias for the portal you will be using. Make sure you get this correct.

IS THIS A SQL TABLE CALLED PORTALALIAS IN THE DNN DATABASE?

9. Edit the web.config to correct the SQL connection string (AND PRESUMABLY THE MACHINE ID).

GOT IT :-)

Thanks in advance for any input here DNN users to refine my script... cheers MARK.

 

Are there any considerations I shoud bear in mind when taking it down to my PC, e.g. aliases, database issues, web.config edits and so on to get it up and running on the PC.

 
New Post
9/16/2008 11:41 AM
 

First of all I highly recommend adding the portal alias for the local restore BEFORE you actually take the backup of the site.  That way you can do it via the DNN interface and do not have to write SQL to do it.

For the restore paths, it is on the second tab of the configuration when doing the restore in SQL Server Management Studio.

I'm working on an updated restore guide here to be posted to my blog in the next few days.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
9/22/2008 8:50 AM
 

Hi Mitch, thanks for the response... sorry for the delay but been on holiday for a week... I look forward to seeing your restore instructions. I tried my script again but get security errors but I think most of everything else I have done is correct. Please post the link when you have completed your script.  Cheers MARK. www.markwhitfield.net

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...UPDATED : Moving a HOSTED 4.8 DNN Website to a LOCAL PC UPDATED : Moving a HOSTED 4.8 DNN Website to a LOCAL PC


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