In this tutorial I will show you How to transfer joomla site from localhost to server. Many people like to build their Joomla site locally and then move their work to a live host when completed. This tutorial I will show you how to move your local joomla site to live server, database and all.
I assume, you build a joomla site in your local server. Now you transfer your local site to live server. You would need to have a FTP program to connect your local system to live server. For that you have to know how to use ftp, so you can connect your local system to live server, upload your content to the live site. For ftp you can use filezilla. It is free software. Now I start the process.
Step 1: Export your Joomla site database
In the Export Method option chooses “Quick – display only the minimal options” and select format “SQL” and click on “Go” button. It will download your whole database. We need this file for later use.
Step 2: Uploading local joomla site to live server
Now open your ftp software (For me it is filezilla), put your live site host name, username and password and click on “Quickconnect”. It will connect your local system to live server.
Now go to your live server root directory, for me it is “public_html”. It varies on server to server. So you have to know your root directory. Now left side of your filezilla you have to select your local Joomla site and right side of your filezilla your live server root folder. Now select all files from left site of filezilla and right click on files and click upload.
It takes time so do not worry. Leave it, it will upload all files from local server to live server.
Step 3: Create MySQL Database on Live Site
While your FTP is uploading your Joomla files, you can spend this time on importing your database to the live server. Log in to your cPanel dashboard and click on the MySQL databases icon which can be found in the databases section.
Now create a database(put any name here)
It will open an new page, Click on “Go back”.
Step 4: Importing Joomla Database on Live Server
Go to your cPanel dashboard, scroll down to the databases section and click on phpMyAdmin.
This will take you to phpMyAdmin where you want to click on the database you created earlier. phpMyAdmin will show your new database with no tables. Click on the Import tab in the top menu. On the import page, click on choose file button and then select the database file you saved in step 1. Lastly, press the Go button at the bottom of the page. phpMyadmin will now import your Joomla database.
Step 5: Now database import is over. I assume your file transfer is over. Now open configuration.php from live site root folder
Now change below information in your configuration.php file
After changing all data, save the file and update it in filezilla. Now you transfer joomla site from localhost to server. That’s all, hopefully your live site will be up and running by now.
You may also like: