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

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. httpdocspublic_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:

 

 

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.

Joomla is a powerful software that is easy to work with once you have the right host to support you. Before you lose any more time with the wrong host, check out the hostlantern Joomla hosting offer.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Multiple Joomla websites with a single memcached server

hostlantern offers its customers the option to enable memcached in their Joomla applications....

How to configure Joomla 2.5 ACL?

One of the great features available in Joomla 1.6, 1.7 and 2.5 is called ACL. The abbreviation...

How to set drop-down menu with Joomla 2.5?

There are different ways to create a drop-down menu for your Joomla 2.5 web site. For example,...

How to reset my Joomla 2.5 password?

If you have problems to access your Joomla 2.5 admin area and can not remember the correct...

How to activate SSL protection for your Joomla 2.5 web site?

In order to turn on an SSL certificate support for your web site you should load your Joomla 2.5...