The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Nov 01, 2010 1:47 pm 
Joomla! Intern
Joomla! Intern

Joined: Fri Oct 29, 2010 6:53 pm
Posts: 60
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


Top
 Profile  
 
PostPosted: Mon Nov 01, 2010 2:05 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Oct 28, 2010 8:09 am
Posts: 16
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


Top
 Profile  
 
PostPosted: Mon Nov 01, 2010 2:10 pm 
Joomla! Intern
Joomla! Intern

Joined: Fri Oct 29, 2010 6:53 pm
Posts: 60
Thats true,

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


Top
 Profile  
 
PostPosted: Mon Nov 01, 2010 11:57 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5838
Location: the Bat Cave
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:
   /* 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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group