How do I move my site to another host?
Back up with Akeeba Backup, upload the backup and Kickstart to the new host, and restore. It moves files and database and updates the settings for you.
What has to move
A Joomla site is two things: the files and the database. Both have to move, and configuration.php has to point to the new database. A backup tool does all three for you.
With Akeeba Backup (easiest)
- Install Akeeba Backup on the old site, click Backup Now, and download the
.jpafile. - On the new host, create an empty database and database user.
- Upload the
.jpafile and kickstart.php to the new site folder. - Open example.com/kickstart.php in your browser, extract the backup, and enter the new database details when asked.
- Finish the restore, remove the installation folder when prompted, and test the site (you can test before changing DNS by editing your computer's hosts file).
- Point your domain to the new host.
By hand
- Copy all files with FTP/SFTP, and export the database with phpMyAdmin.
- Import the database on the new host.
- In
configuration.php, updatehost,user,password,dbanddbprefix, and checklog_pathandtmp_path.
Good to know
- Check that the new host meets Joomla's requirements (PHP version!) before you move.
- Restore into an empty folder and database, never on top of another site.
Sources
- Backup – Joomla User Guide
- Akeeba Kickstart – Akeeba
- Unable to connect to the database – Joomla User Guide