Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Upload Joomla from Local to Live Server - Part 1

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
28,715
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 18, 2010

Moving Joomla from one server to another is a very valuable skill to have. It's not just necessary to launch or deploy new web sites but it's useful for many different reasons. For instance, creating a live site clone to troubleshoot a bug or creating a "staging" area for training an office staff.

In this 2 part Screencast Marco shows you how to upload a local Joomla website to a Cpanel Server step by step.
For even more help here is a checklist you can use while you are working on your first Joomla upload to your server:
Moving a Joomla Site from a Local Server to a Live server
NOTE: This checklist assumes you have Cpanel on the live server and you have used XAMP for your local server.


Locate the local folder where your site is (usually htdocs/yourfolder)
Open the folder and select your Joomla files
Use your ZIP program to create a ZIP file
Go to your Cpanel and click on "File Manager"
Navigate to your public_html folder
If necessary, create another folder where you'll upload the ZIP file you just created. If the file is going live, you can expand directly in public_html
In Cpanel's File manager Click on "Upload" and, from the new window, search for your zip file and click Upload
Once it's done, go back to the file manager and click on "Reload" and you'll see the zip file
Select the ZIP file and click on the "Expand" Icon - Your files should be now in the directory of your choice
Go to the Copanel DB manager and create a new database
Now create a new user and remember to assign it to the new database
Throughout this process, make sure to take some notes of the various names and passwords.
Go back to your local site and in XAMP open PhpMyAdmin. Click on the "Export" tab.
Locate your database and export it
Now, in Cpanel open PhpMyAdmin and click on the "Import"
Once again, locate the DB file you just exported and upload it
Now go to your file manager and select "configuration.php". Click on "Edit" or "Code Editor" (or use the editor of your choice locally and upload the file)
Change these fields:

var $log_path = 'D:\\xampp\\htdocs\\localvm\\logs';
var $tmp_path = 'D:\\xampp\\htdocs\\localvm\\tmp';
to something like this:
var $log_path = '/home/youraccount/public_html/yourfolder/logs';
var $tmp_path = '/home/youraccount/public_html/yourfolder/tmp';
Then find these fields: var $user = 'root'; var $password = '';
var $db = 'yourDB';
and change them with your own data from the new Database and user you just created.
If you have a Virtuemart store, remember to change these entries:
define( 'URL', 'D:\\xampp\\htdocs\\localvm\\' );
define( 'SECUREURL', 'D:\\xampp\\htdocs\\localvm\\' );
to the ones relative to your own site.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (10minutejoomla)

  • H great tutorial, i just had a problem after i done it. none of my links from the main page worked anymore :( maybe its something with SEF404) im desperate please help :(

  • @Naughty8utNice It very likely is Sh404sef.

    1) Get the latest version of sh404

    2) Clear your cache

    3) Make sure your htaccess is there

    4) Check the links in the "source" of the page.

    This is not unusual so if you look in the Joomla forum you will find a solution or at least a hint that applies to your situation. If you still can't make it work, send me an email on Monday.

    Cheers

  • @10minutejoomla

    Just a quick update for anyone that moves to godaddy.

    Problem seems to have been the Apache on godaddys server.

    Htaccess had to be modified then i had to redirect all links with index.php to root.

    I also had to remove the security option from sh404sef since it gives an 401 error thinking maleware is trying to flood the page.

    Hope this safes anyone else the 3 days i spent tracing the problems :)

  • @Naughty8utNice Just this once I had decided not to bash GoDaddy and naturally I was wrong. GoDaddy's servers are possibly among the least Joomla friendly around. In the Joomla forums there are entire sections dedicated on how to run Joomla on Godaddy.

    The reason I didn't bring it up is that I sound like a broken record each time someone has a problem on GoDaddy. Too bad.

    You should really consider a Cpanel server

    By the way, in a bit I'll test a "cloud" based Cpanel server.

  • Thanks a lot dude very clear tutorial. by the way i like where can i get your template where can i get something like yours with shopping cart?

  • @msafiri85 Thank you for taking the time to leave a comment. It's nice to know you guys watch the screencast..

    The template I am using here is actually the default template for the Virtuemart "All in one" installation of Joomla + Virtuemart. I think it's called Virtuemart E-commerce Bundle. It's the last download on their list.

see all

All Comments (25)

Sign In or Sign Up now to post a comment!
  • @TheSkikokkia ops, i forgot, very good tutoria anyway, even if it cannot sort my problems out...

  • ok, now, how do i do all this on a mac using filezilla?? i hate when i put myself in these situations when i don t know how to come out of the deep s&%t... :/

  • @veldanen being italian i find our accent pretty funny, but true, def good tutorial!

  • Ezio! :P

  • thank you..really great job!! Your video helped me a lot, god bless you.

  • I tried to do these steps on byethost7 ( free server ), and upload my new joomla site. I fallowed all steps from 1st and 2nd part of this tutorial. But I got error: "unable to open MySql database". Problem was solved when I put in configuration file "sql100{.}byethost7{.}com" (remove {} )where was written "localhost".TY very much for this great tutorial, it was very helpful :)

  • Thanks a million, exactly what I needed.

  • Very helpful tutorial. I followed all steps and am still having problems. When I go to look at the newly uploaded site live, it tells me "cannot connect to database". I changed the 'configuration.php' file as needed and double checked all the other database settings including password, username, etc. and no luck.

    any thoughts?

  • is ur cpanel free?

  • Try This

    unlimiteduploads.co.cc

    tell me if u want the codes

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more