Knowledgebase
Webinova Online Customer Support > Webinova Help Desk > Knowledgebase

Search help:


How to transfer a Joomla 2.5 web site to a new server?

Solution

Every Joomla 2.5 web site consists of two components: files and a database.

  • The files and folders of your Joomla 2.5 application contain the core application code, the default and the external extensions.
  • The Joomla 2.5 database contains all records for your website such as your categories, articles, extensions records, etc.

Let’s assume that you have own LAMP (Linux, Apache, MySQL and PHP) or WAMP (Windows, Apache, MySQL and PHP) server or a hosting account with another company. Find the directory where your Joomla 2.5 installation resides (e.g. httpdocs, public_html, www or their subfolders).

Next, copy the entire content of your Joomla 2.5 directory straight into the public_html folder (or a chosen subfolder) of your SiteGround hosting account.

If you are managing your Joomla 2.5 web site on a local server probably you already have the files on your hard drive. If you are hosting your account on a remote machine, simply download your Joomla 2.5 files and directories (please mind that you should keep the directory structure intact) on your local computer through an FTP client.

After the download is completed, you should connect to your SiteGround FTP account, change your current working directory to public_html (or a chosen subdirectory) and drag and drop your Joomla 2.5 files and folders from your local computer to the chosen location.

Next, export your Joomla 2.5 MySQL database. If you are running your own WAMP or LAMP server probably you can create the dump file through the command line or by using a database management tool like PhpMyAdmin. If you are using a different web hosting provider they should have provided you with access to a database management tool integrated in their system. You should ask them for further assistance with the database backup creation.

Once you are ready with the database backup navigate to your cPanel -> MySQL Databases and create a new database. Assign a new database username with the corresponding password to the database.

Open the cPanel-> phpMyadmin interface. Choose the new database from the left menu. Click on the Import tab. There is an option to import a .sql file. Use the “Browse” button to find it on your computer and then click “Go” at the bottom.

If you receive an error message which says access denied, you should open the database dump file you have downloaded on your local computer with your favorite text editor and look for lines that may contain CREATE database db_name; and/or USE db_name; mysql statements. If you find any simply delete them and try to re-import the dump. If you run into troubles our friendly technical support team is available 24/7 and ready to help you.

Last, adjust the Joomla 2.5 configuration. Open your cPanel -> File Manager, navigate to your Joomla 2.5 directory and open the configuration.php file for editing.

Modify the following details to match your Joomla 2.5 setup:

 public $host = ‘localhost’; // Leave it to localhost if you are unsure
 public $user = ‘your-database-username’; // Change it to the username assigned to the database
 public $password = ‘your-database-user-password’; // Change it to the password for the database user
 public $db = ‘your-database-name’; // Change it to the name of your database

 public $log_path = ‘/home/youruser/public_html/logs’; // This path varies for your webroot
 public $tmp_path = ‘/home/youruser/public_html/tmp’; // This path varies for your webroot

 

If you have correctly followed the instructions mentioned above and your domain name properly points to the DNS servers of your SiteGround hosting account you should be able to see your Joomla portal.

Almost the same are the steps if you decide to transfer the Joomla 2.5 web site to another hosting provider. Basically, you should copy the files, import the database and reconfigure the script to work under the new location.

For more information, please visit our Joomla 2.5 tutorial.

Note: The above instructions are for Joomla 2.5. In order to migrate a Joomla 1.0 web site please follow these instructions. The website transfer instructions for Joomla 1.5 are available here.

If you have problems transferring your Joomla 2.5 web site yourself, ask your hosting provider for assistance. SiteGround provides the best Joomla hosting and such requests are handled with ease.

 
Was this article helpful? yes / no
Article details
Article ID: 333
Category: Joomla 2.5/3.0 FAQ
Date added: 2012-12-11 16:08:42
Views: 138
Rating (Votes): Article rated 3.0/5.0 (6)

 
« Go back

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid