Moving Site to New Host

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
CRSounds
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 28, 2013 6:31 pm

Moving Site to New Host

Post by CRSounds »

Hi,
I am about to embark on moving my site from one host to another. I'm not to worried about the mechanics of it and will be following this guide http://www.squirrelhosting.co.uk/hostin ... #beginners.
My question is this. If I just copy the relevant files accross to the new server and don't install CMSMS on the new one first will the new Control Panel see it as an installed app and offer updates etc?
Or in other words is there any merit in installing CMSMS as a new install on the new server then copying the files over?

Thanks in advance.
Regards
Clive
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Moving Site to New Host

Post by velden »

Start here: http://docs.cmsmadesimple.org/moving

I think it's good practice create a checksum file before moving (old site) and use it to check integrity afterwards (new site)
CRSounds
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 28, 2013 6:31 pm

Re: Moving Site to New Host

Post by CRSounds »

velden wrote:Start here: http://docs.cmsmadesimple.org/moving

I think it's good practice create a checksum file before moving (old site) and use it to check integrity afterwards (new site)
Thanks Velden, I was planning on doing so.
My main question is should I install CMSMS on the new server before copying files over or is this step not needed?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: Moving Site to New Host

Post by Jo Morg »

CRSounds wrote:Or in other words is there any merit in installing CMSMS as a new install on the new server then copying the files over?
I think that, if you never had problems with that type of installation, having the possibility of automated backups and updates can be a plus.

I have a few sites setup like that and didn't have an issue yet, as these are quite simple. You'll need to clear both local and server side caches, make sure you have the same version of CMSMS on both, and backup the server config.php file as this is more important that the one on the development site. This should be edited manually not overwritten.
Then, after move, clear cache again (just in case), and if the site is working as expected force a backup asap.
HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
10010110
Translator
Translator
Posts: 224
Joined: Tue Jan 22, 2008 9:57 am

Re: Moving Site to New Host

Post by 10010110 »

CRSounds wrote: My main question is should I install CMSMS on the new server before copying files over or is this step not needed?
Just to make sure it’s clear for everyone: You don’t need to make a fresh install on the new server, it’s sufficient to move all CMS related files from the old server to the new one (after you’ve cleared the system cache, of course), export/backup the database from the old installation and import/restore it on the new server, and then change contents of config.php to the new database information.
Post Reply

Return to “CMSMS Core”