Moving Joomla Site From One Server To Another


Tags:

These are a few steps you need to do and prepare if you plan to move your Joomla site from one server to another. These tips also helpful if you plan to move your Joomla site from your localhost to a live site.

First thing you need to do is relax and stay calm, hmm maybe you'll a cup of coffee too :). Ok, off we go now...

  1. Copy all of your Joomla files to your new server. It would be better if you compress all of your Joomla files into 1 (one) file (.zip or .tar.gz), then copy that file to your new server and extract the file using puTTy or any other relevant program. Don't forget to dump your Joomla database to the new server using phpMyAdmin . I've wrote a tutorial on how to backup and import your Joomla database, you might want to read it first.
  2. In the new server, open your configuration.php file, and then make sure that all these parameter is correct according to your new server location. Remember, you only need to change these parameters listed below, you don't need to change any other parameters.
  3. $mosConfig_absolute_path
    $mosConfig_cachepath
    $mosConfig_live_site
    $mosConfig_db
    $mosConfig_user
    $mosConfig_password

    Example:

    $mosConfig_absolute_path: "home/public_html/joomla";
    $mosConfig_cachepath: "home/public_html/joomla/cache";
    $mosConfig_live_site: "http://www.yourdomain.com";
    $mosConfig_db: "joomla-db";
    $mosConfig_user: "adminweb";
    $mosConfig_password: "hehehe-itsme";

Don't forget to save the changes you've made. If you can't save it, CHMOD the configuration.php file into 755, then after you save it don't foget to CMHOD it again to 644.

And now you're done. That is it folks. Just a few simple steps, right? ;).

wrong link to previous tutorial (backup database)

Thanks

Hi Guest01, thanks for the correction. I've updated the link.

move a Joomla 1.5 install

My configuration.php file does not have any of those fields... probably because I'm using Joomla 1.5. It doesn't seem too easy to move a Joomla 1.5 install, a tutorial on that would be great :)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.