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 ...Duplicating DNN for Development/TestingDuplicating DNN for Development/Testing
Previous
 
Next
New Post
4/24/2008 11:29 AM
 

I would like to move forward with my use of DNN, since starting with next to no knowledge a year ago.

I do run back-ups etc, when updating modules, DNN or anything major... but I've never had a test site.  I want to set this up, as a duplicate of my existing DNN setup (if possible).

Now, I copy the database into a new 'Dev' database... so there are 2 identical databases running so I can leave the live one alone.  I then copy the DNN files into a new 'Dev' directory, and change the web.config file to point to the new 'Dev' database. Is that ok so far?

After that I have setup a new A record (Dev.) for the domain and pointing this to a new IP address, setup as a website in IIS pointing at the new directory (different TCP port).  I also add dev.domain.com to the portal aliases so it should work... my theory anyway.

The problem I have is that it still seems to point to the old site... when I make a change at dev.domain.com it is changing the live site for some reason... not the separate development/testing copy I have made.  Is there something I missed, or a way I can check this?

Thanks

 
New Post
4/24/2008 3:29 PM
 

Try changing the first portal alias to be your 'dev' address.

 
New Post
4/24/2008 11:23 PM
 

Thanks for that...

I am still struggling with this and I really don't know why.

It still "attacks" the same website.

I started again and I -

  1. Created new database (Dev1), restore copy from other into this separate database file
  2. Copied all DNN files into a new Dev1 folder
  3. Changed the web.config for the Dev1 DNN to point to the Dev1 database
  4. In IIS added a website for an unused IP to point to the new DNN Dev1 folder (it said problem as exists, though new folder. Needed diff TCP port to work)
  5. Add new A Record for domain (dev1.domain.com to point to the new IP)
  6. Changed first PortalAlias entry in table for new Dev1 database to dev1.domain.com, removed others

I think that is everything I have done.  I am guessing the problem is with IIS somehow saying it already exists... why would this be happening?

When I go to dev1.domain.com and modify anything, it changes the www.domain.com although they should be completely separate.

Any help on this would be much appreciated.

Thanks

 
New Post
4/25/2008 1:25 AM
 

Finally, all working now.

For some reason IIS didn't like reusing an IP address (which had been deleted)... not sure why that happened but simply changing the IP address fixed it!

 
New Post
4/25/2008 1:40 AM
 

Ok... not quite there.  Was close to needing urgent help just a minute ago.

Although I got the new DNN Dev1 working... I hadn't realised it pulled down the live website!  I then had problems with the TCP port again in IIS but this time with the original live website, not anything new.

Is it right to think that DNN can only work as a single instance through the same TCP port?  I am fairly new to this, got the basics ok but anything else and as you can see I have to learn and understand.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Duplicating DNN for Development/TestingDuplicating DNN for Development/Testing


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