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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HELP moving an existing DNN Portal Install/Instance from server A to server BHELP moving an existing DNN Portal Install/Instance from server A to server B
Previous
 
Next
New Post
9/23/2009 9:16 PM
 

ASK

  • How can I move an existing, customized DNN instance/portal/install (4.9.0) from server A (Windows Server 2003) to a new server B (Windows Server 2008)?

STEPS I have tried:

  • Installed DNN 4.9.0 on new server B  (and successfully verified plain vanilla site/portal, via http://localhost/DNNl)
  • Copied all files within my DNN directory (C:\inetpub\wwwroot\DNN was the main install dir) from server A to server B
  • Copied related existing databases (DNN, UserLoginDb) from one sql server 2005 box (DNN instance on server A users these - these are known good working productioin copies) to new sql server 2008 box (server B will be using these).  Currently created a DNN-Test DB on sql server 2008 to setup plain vanilla DNN instance on server B.
  • Changed web.config file info so that DB's point to sql server 2008 login info (for new server B)
  • <connectionStrings> and <appSettings>
  • Tried to hit url locally to load the ported site:
  • -> http://localhost/DNN
  • Result: from IE: 

    Internet Explorer cannot display the webpage

Is there a better way to approach this porting effort of an existing DNN instance on one server to another? 

Any information would be greatly appreciated.

Thanks!

 
New Post
9/24/2009 5:16 PM
 

 You don't need to install DNN on new server.

1- Create new website on new server (do not install DNN)

2- On old server create backup of your Database and Copy ALL DNN FIles from old server to new server. (in the virtual directory folder)

3- Restore Database on new server.

4- Configure web.config on new server.

5- Configure IIS settings on new server, and set the permissions

This should resolve the issue.


Rashid KAZI
Rashid.KAZI @ DNN4Less.com

Fast & most affordable DotNetNuke Hosting.
Shared Hosting - Resellers Hosting - Cloud Servers - Dedicated Servers

 
New Post
9/24/2009 7:56 PM
 

Hi!  Thanks for the reply.

What you have outlined above is essentially what I have done....

1)  I created a new directory and virtual directory on new web server B C:\intepub\wwwroot\DNN

      - Set permissions so that NetworkService has full control (both in directory in virtual directory)

      - Set the virtual directory to "Conver to Application"

2) Copied entire DNN database to another server

     - Copied all files from web server A c:\inetpub\wwwroot\DNN to web server B c:\inetpub\wwwroot\DNN

3) Restored Db on another db server C (SQL Server 2008)

4) Changed web.config to point to new Db Server C

5) Set permissions as per mystep in  #1.  That is, I set the NETWORK_SERVICE to have full control of the virtual directory (DNN) and directory (c:\inetpub\wwwroot\DNN)

    - AM I missing any other IIS settings here?

I still get the following error when I hit the following url via IE:  http://localhost/DNN

  - "Internet Explorer cannot display the webpage"

 
New Post
9/24/2009 9:55 PM
 

Try Local System in IIS. You also need to set the User Permnission instead of Network Service.

If you still cannot configure, send your web.config file to info@dnn4less.com and I will see, what I can do to resolve this issue.

Good Luck


Rashid KAZI
Rashid.KAZI @ DNN4Less.com

Fast & most affordable DotNetNuke Hosting.
Shared Hosting - Resellers Hosting - Cloud Servers - Dedicated Servers

 
New Post
9/24/2009 10:20 PM
 

If the site url on the new server is different from that on the old server, have you added the new url to the database's PortalAlias table?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HELP moving an existing DNN Portal Install/Instance from server A to server BHELP moving an existing DNN Portal Install/Instance from server A to server B


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