how to migrate joomla site form local XAMPP to web server.

Need help upgrading your Joomla! website or converting to Joomla! 1.5?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
jaimin_1985
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Fri Oct 29, 2010 6:53 pm

how to migrate joomla site form local XAMPP to web server.

Postby jaimin_1985 » Mon Nov 01, 2010 1:47 pm

Hello,

I have develop my first joomla site on my local machine in XAMPP.

So what is the procedure to upload the site live in the server.

Any help will be appreciated.

Thanks

qqqqq
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Thu Oct 28, 2010 8:09 am
Contact:

Re: how to migrate joomla site form local XAMPP to web serve

Postby qqqqq » Mon Nov 01, 2010 2:05 pm

Just export the database on the hosting account, with the same name and the same user. After that, make an archive with all your files and post it on the server. Unzip the files and move them to the root. Normally, when you will visit your site, the website sill be visible. I hope I don't forget anything to said.

PS. This post can help you as well:
viewtopic.php?t=5556
http://www.attagency.ro Web Design Company
http://www.rcaieftin2011.ro Asigurare RCA ieftin

jaimin_1985
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Fri Oct 29, 2010 6:53 pm

Re: how to migrate joomla site form local XAMPP to web serve

Postby jaimin_1985 » Mon Nov 01, 2010 2:10 pm

Thats true,

Don't I need do any DB Connection changes?
They both will be different in local and server.

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6023
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: how to migrate joomla site form local XAMPP to web serve

Postby dpacadmin » Mon Nov 01, 2010 11:57 pm

Copy the files to the new server, Export the database and Import it to a new database on the server. Edit the configuration.php file and change the database connection credentials to the ones for the new server's database. Change the paths for the logs and tmp folder to the absolute path to them on the server, not their url.

Code: Select all

   /* Database Settings */
   var $dbtype = 'mysql';               // Normally mysql
   var $host = 'localhost';            // This is normally set to localhost
   var $user = '';                     // MySQL username
   var $password = '';                  // MySQL password
   var $db = '';                     // MySQL database name
   var $dbprefix = 'jos_';               // Do not change unless you need to!
You could also use the Akeeba Backup extension to create a backup of your site. Upload the backup file to the root of your site and a kickstart.php file(you can get it from Akeeba Backup's site).

Create a new database on the server and save the database connection details. Open the kickstart.php file in your browser and it will extract your backup file and start a Joomla install of your site, creating a clone of your local site on the server.

When the install asks for your database connection info use the info you saved for your new database. When it asks for your admin name and password use the first super admin name and password you used for your local site. You should now have a clone of your local site on the server.


Return to “Migrating and Upgrading to Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 4 guests