Moving your local Joomla site and migrating it to a cPanel-using webhost can be quite simple, as long as you understand the basic components of your Joomla app. There are basically two components of Joomla portals: the files, and the database itself. Your Joomla app consists of the files and folders, where you an find the core application code and the scripts. The database, on the other hand, is where you can find all of your site’s records, including sections, articles, and categories to name a few.
Below is a basic guide on how you can migrate your Joomla site from a local host to a standard webhost.
Step 1: Copy the root directory of the web server.
In order to transfer the Joomla app to your preferred SiteGround server, just copy the entire root directory of the web server into the web hosting account’s folder named “public_html”.
Step 2: Connect to the SiteGround FTP account.
After finishing the download, simply connect to the SiteGround FTP account. Keep in mind that your website’s main or root folder is the one named “public_html”, so make sure that you rename the current working directory to this one. Once you’re done, just drop all the files and folders from your old (local) host to the newly renamed folder.
Step 3: Make a full Joomla MySQL database dump.
Ask your new web hosting provider to give you access to its database management tool. Log in and export (back up) your database.
Step 4: Import the database dump.
Next, just import the database dump to the SiteGround account. You can do this by going to the cPanel area and creating a new database. You can choose any name for this one. After doing this, you should also create a new username for the database and add it to the database you just created.
Step 5: Restore the database.
Next, access your your SiteGround phpMyadmin interface and start restoring the database. All you have to do is to select the database you want to restore. The options can be found on the left menu. Click the tab named “Import,” and then look for the database you are going to restore.
Step 6: Make the necessary adjustments.
Last, but not the least, is to make the adjustments to your core settings. These are defined in the primary Joomla configuration.php file.
To do this, head to the SiteGround File Manager. Chang the name of the current working directory into “public_html”. As long as you were able to follow all of the steps discussed above, it is going to be easy for you to find the configuration.php file.
Now, you can open this file to make revisions and necessary edits.
The Main Variables to Adjust
In order to ensure that your Joomla site fits the new webhost, the following variables should be adjusted:
After you have successfully revised the above-mentioned variables, you should be able to access your website via your new webhost.