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 ...Moving a HOSTED 4.8 DNN Website to a LOCAL PCMoving a HOSTED 4.8 DNN Website to a LOCAL PC
Previous
 
Next
New Post
9/10/2008 3:47 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.

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.

Thanks in advance for any help and input here.

 
New Post
9/10/2008 4:00 AM
 

Mark Whitfield wrote

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.

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.

Thanks in advance for any help and input here.

This is what I do:

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

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

3. Delete zips (from your live webserver).

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

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.

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

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

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

9. Edit the web.config to correct the SQL connection string.

I think you can now safely surf to the site.

Peter


Peter Donker
Bring2mind http://www.bring2mind.net
Home of the Document Exchange,
the professional document management solution for DNN
 
New Post
9/10/2008 6:07 AM
 

Cheers Peter... Thanks for the prompt response... This looks like a good script... Just a few questions embedded in UPPERCASE... just verification mainly :-)

This is what I do:

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 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 TABLE CALLED PORTALALIAS IN THE DNN DATABASE?

9. Edit the web.config to correct the SQL connection string.

GOT IT :-)

I think you can now safely surf to the site.

THANKS IN ADVANCE PETER OF ANY DNN FORUM USER... :-)

Peter

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving a HOSTED 4.8 DNN Website to a LOCAL PCMoving 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