Or how to copy a website from localhost to a remote host.
In this article I will explain the procedures involved in uploading a Joomla web site which you have created on your local computer to a remote host and or a web server. You will need an FTP program and a decent text editor for this exercise. You will also need access to your cpanel on your web hosting account. I personally use Filezilla for an FTP client. If you need a good free text editor try Notepad ++
First thing we need to do is create a database on our web server for our Joomla website. Launch a web browser and login to your cpanel.

Now that we are logged into our cpanel let’s create the database.

The next step is to give the database a name. I chose to type in bccondo as illustrated below. You can type any name in here you like, I just chose the name of a business. When finished click Next.

The next step is to create a user and a password for the database we just created as illustrated below. Make sure you use a strong password for this step. A strong password consists of upper and lower case letters as well as numbers. View how to create a secure password for more info. When finished click Next.

The next step is to add the new user to the database. Select All Priviledges as shown in the illustration below. Please take note at this time to notice the database name and the name of the database user as shown below. You will need this information later on. Notice the database name is bccondo_bccondo and the database username is bccondo_billybo. When finished click Next.

Congratulations you have successfully created a database. Give yourself a pat on the back. This would be a good time to grab a coffee.

Next, launch your FTP program and upload all your Joomla files to the root directory or a directory of your choice on your web server.
For the final step we need to edit the configuration.php file that resides in the root directory of our web site. The file contains settings specific to your system. The configuration.php file was created when you installed Joomla on your local computer. The settings in the configuration.php file that you typically need to change are listed below:
var $log_path = 'C:\\xampp\\htdocs\\bccondo\\logs'; var $tmp_path = 'C:\\xampp\\htdocs\\bccondo\\tmp'; var $live_site = ''; var $host = 'localhost'; var $user = 'root'; var $db = 'your_local_db_name'; var $password = 'your_local_db_password';
Change the above values in the configuration.php file to the values you see listed below:
var $log_path = '/var/www/vhost/domain.com/home/html/logs'; var $tmp_path = '/var/www/vhost/domain.com/home/html/tmp'; var $live_site = ''; var $host = 'name your remote host'; var $user = 'your_user_db_name'; var $db = 'your_db_name'; var $password = 'your_db_password';
Note: The host value is usually localhost.
We are now finished moving our web site to a live web server. If you have any questions please feel free to leave a comment.