Relocate a web site (on same server)

Permalink
Hi I plan to setup a Concrete5 based website at my current website but under a preview dir. So "www.mywebsite.com/preview/" will be the temp spot so that my current site can stay up while i build the new site. When I am ready to flip over I was hoping it might be as easy as just moving all the content under preview up one level. Would that be the case or would that break things?

 
JohntheFish replied on at Permalink Reply
JohntheFish
That can work, but I prefer to do it the other way round and change the domain name to point at the new site.

So typically I will have:
mydomain.com pointing to the root directory of the real site
staging.mydomain.com pointing to the root directory of the new version

Then all I need to do to go live is turn off pretty urls, flip the domain names, and turn on pretty urls.

If you adopt a process like this you can repeat it ad-infinitum for each major upgrade of a site simply by cloning whichever root directory and database is currently live to create another staging site.

PS for replication/cloning, have a look at Backup voodoo
http://www.concrete5.org/marketplace/addons/backup-voodoo/...