I have a development version of my drupal site which is hosted on siteground.com using a cPanel. I have several other sites installed on the server so this drupal installation does not sit in the root (it sits on www>drupal1).

I want to move my site to a production environment (also on siteground using cPanel). The production environment will only host this 1 site so this install will sit directly in the root (www).

Please could anyone advise how i go about moving the site.

many thanks

Comments

silverwing’s picture

upload drupal and the modules/themes to the new server (or account) including the /files/ folder.

Export then import the database.

Modify settings.php with the correct database information.

~silverwing

marcus_clements’s picture

Install Backup Migrate module which will export a copy of the database minus cache and session tables (which helps). You can import this data using PHPMyadmin or similar tool

mrmagica’s picture

Thanks for pointing out this module - it worked really well. I did have some errors when i first moved imported the database tables but this was becuase I had not uploaded some modules and a couple of modcules had to be updated. Other than that I had the site migrated within a couple of hours.

Many thanks