Register   Login
     
  Latest Posts  
Select Image Button does not work.
by rtnovak on 1/08/2009 6:37 AM
Lightbox implementation
by max2o on 1/08/2009 6:16 AM
RE: Toolbar links at the top of the articles module
by smcculloch on 1/08/2009 5:52 AM
Toolbar links at the top of the articles module
by wassis on 1/08/2009 5:42 AM
RE: PA Features & Enhancements
by smcculloch on 1/08/2009 4:33 AM
RE: PA Features & Enhancements
by georgelew on 1/08/2009 4:28 AM
RE: Search Wildcard Problem!
by smcculloch on 1/08/2009 4:24 AM
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
  Forums  
Subject: Tried to "copy" Live site to test site (subdomain)...
Prev Next
You are not authorized to post a reply.

Author Messages
CabinMommaUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:31

6/20/2008 6:26 PM  

Hi!

I'm hoping someone can offer some advice. 

I have two installations of DNN 4.8.1 - one on my domain mysite.com and one on a subdomain test.mysite.com.  We used the test.mysite.com to get things set up and test and what-not before putting everything into our live site (we are 4 moms that are working together to put this site up and, as we each have our own jobs, work on this at night at our own homes, so instead of working on a local installation, I created this "test" subdomain to do our initial work and testing).

To "move" everything to our live site, we (ok, I) just recreated everything on mysite.com that we had finalized in "test". During the recreation, we actually made several modifications, as we refined what we wanted. 

Now, what I wanted to do was to "copy" our entire live site to our test site so that I could start testing out some skin changes and other module changes (we have some purchased modules that have new versions - like Property Agent, but I want a test area to apply the upgrades before we apply them to our live site).

I hope this all makes sense so far.

I made a backup of the live db, asked my host providers to use that to restore to my test db, while I downloaded the entire root directory.  Then, I removed the directories for the subdomains from the backup of the files (we have two subdomains... our test and one that is company.mysite.com that I have a separate dnn installation, intended for a site for us and our contractors to use for other purposes) and a couple of other subdirectories that were already present in the wwwroot directory, that were there when we first set up the domain with the hosting provider (one called "website" and another called "cgi-bin" - these were both empty and did not map to any directory that was already in the test directory, or my local dnn installation, so they didn't seem to apply).

The db restore was successful, so I copied all the files to the test directory (minus, like I said, the "company", "test" and extraneous subdirectories).  I modified the web.config to update the db connection information to point to the test db (in both places).

Now, when I go to test.mysite.com, I see what appears to be our live site, but all links actually go to our live site.

I'm sure that I'm either just missing a step or have made an error in judgement in thinking it would be this straight-forward.

Oh, I looked through the db tables and found "PortalAlias", which had our www.mysite.com in it, so I changed that to test.mysite.com, but that didn't change anything (that I could tell)... I'm assuming that just adds an additional alias (as our site is mysite.com and this has the www in the front... but I'm not sure... ).

Does anyone have any suggestions or see where I went wrong?  ... more importantly, what I can do now to fix it?

Thanks so much!

Paula

CabinMommaUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:31

6/21/2008 8:19 AM  

I posted this on another site and got a response, so I'll share here (in case someone else could benefit... likely, I'm the only one that didn't know this, but you never know...)

Updating the PortalAlias table was the right thing to do... I just needed to update the web.config (I save an extra space in it) to get the app to restart.

I'm in business now... yea!

Now, I can get busy applying the last two PA updates..

CabinMommaUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:31

6/21/2008 8:19 AM  

I posted this on another site and got a response, so I'll share here (in case someone else could benefit... likely, I'm the only one that didn't know this, but you never know...)

Updating the PortalAlias table was the right thing to do... I just needed to update the web.config (I save an extra space in it) to get the app to restart.

I'm in business now... yea!

Now, I can get busy applying the last two PA updates..

You are not authorized to post a reply.
Forums > General > DotNetNuke Questions > Tried to "copy" Live site to test site (subdomain)...



ActiveForums 3.7