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 |