Here are the steps to migrate Joomla site to a new host/domain.
Step 1: Backup your files
Click here for our guide on how to take a files backup.
Download the files backup at a safe location and proceed to the next step.
Step 2: Backup your database
Click here for our guide on how to take a database backup.
Step 3: Create Database on the New Host
Click here for our guide on how to create a new database
Make sure that you write down the database name, username and its password. You will need them in the step 5.
Step 4: Import the database
Click here for our guide on how to import a database. If your old database is bigger than what you host allows you to upload, try gziping the sql file. phpMyAdmin allows you to import gzip files.
Step 5: Upload the files and update the configuration files
Update configuration.php to reflect the changes.
public $host = 'localhost'; public $user = 'YOUR NEW DATABASE USERNAME'; public $password = 'YOUR NEW DATABASE PASSWORD'; public $db = 'YOUR NEW DATABASE NAME'; public $log_path = '/home/sites/YOURDOMAIN/public_html/logs'; public $tmp_path = '/home/sites/YOURDOMAIN/public_html/tmp';
Step 6: Update folder permissions
The last step is to update permissions of the following folders to 755 or all read and write.
/cache /tmp /log /images
Additional step: If you are moving to a new domain
Make sure you let the search engines know about the new domain. You can create a 301 redirect from your old domain to the new one. Click here for our guide on how to do a 301 redirect.