uploading 1.0 site to new host

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

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.
Locked
mgcan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Oct 04, 2007 3:12 am

uploading 1.0 site to new host

Post by mgcan » Thu Oct 04, 2007 3:26 am

Ok, i'll probably get killed for starting a new post, but go easy on the newbie!

I'm just trying to host/migrate someone's site that was built in Joomla. I've read the faqs and guides. Question: I've uploaded the files to my server, installed the database on my server. So, now i just need to update the configuration.php file, right? Can i do this without having installed Joomla and the site locally first? In other words, what values below can/do i change just to get it to run remotely? Is this possible/advisable, or should I install/run the site on my hard drive first?

Thanks!


    * Edit your configuration.php file to reflect the new values. Specifically the following:

$mosConfig_user = 'joomla_joomla';
$mosConfig_password = 'password';
$mosConfig_db = 'joomla_joomla';
$mosConfig_absolute_path = '/home/joomla/public_html';
$mosConfig_live_site = 'http://www.joomla.org';
$mosConfig_cachepath = '/your absolute path/cache';

User avatar
subrat
Joomla! Ace
Joomla! Ace
Posts: 1038
Joined: Sat Jul 08, 2006 7:36 am
Location: India
Contact:

Re: uploading 1.0 site to new host

Post by subrat » Thu Oct 04, 2007 5:14 am

hii

What you can do is..install a joomla in the place where you want it..
Now overwrite all the files except the configuration file with the files you got from the site you are transferring..
Now overwrite the database with the databse of the site you are transferring and you are done..

Hope it works..does work for me..

regards
Quality WebDevelopment at http://www.webworkwiz.com
Affordable hosting http://www.vsmhosting.com

mgcan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Oct 04, 2007 3:12 am

Re: uploading 1.0 site to new host

Post by mgcan » Thu Oct 04, 2007 5:34 am

Can i not just change the  configuration file in place of what's there? I've already put all the old site files up, including the database. So don't i just need to change the configuration.php file?

Or are you saying that I need to wipe the folder on the server,  install Joomla first on my server, then overwrite with the database and existing content?

User avatar
brendonhatcher
Joomla! Hero
Joomla! Hero
Posts: 2744
Joined: Sun Feb 12, 2006 2:02 pm
Location: Durban, South Africa
Contact:

Re: uploading 1.0 site to new host

Post by brendonhatcher » Thu Oct 04, 2007 5:40 am

Hi

No need to do what subrat suggested, because you have already done that!

Your new host has a new database.  You will need to change the config file to refer to the new database.  The following three variables are for the database:

$mosConfig_user = 'joomla_joomla';
$mosConfig_password = 'password';
$mosConfig_db = 'joomla_joomla';

If the domain is different, then edit $mosConfig_live_site = 'http://www.joomla.org';

You will need to make sure that the path is correct here: $mosConfig_absolute_path = '/home/joomla/public_html';
and here: $mosConfig_cachepath = '/your absolute path/cache';

These details will be available from your host provider.

In the process of transferring the files, you need to make sure that you preserved the file permissions.  Once you have changed the config file, if it still doesn't work, post again here and we'll provide some more input.

Regards
Brendon
-----------------------------------
Web developer in Durban, South Africa - http://www.brilliantweb.co.za
Joomla Days in South Africa - http://www.joomladay.co.za

mgcan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Oct 04, 2007 3:12 am

Re: uploading 1.0 site to new host

Post by mgcan » Thu Oct 04, 2007 5:49 am

Brendon, perfect!

Ok, so the changes are: database user; database password; database name; right?

Then the live site will be the domain, correct? (it was a subdomain before: examplesite/mydomain.com, so now just: mydomain.com)?

Then the absolute path is the root folder in the host directory for the domain, and the cache path i can ask the server, right?

If i've got it, then i'll change those things and get back to you. Thanks!

mgcan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Oct 04, 2007 3:12 am

Re: uploading 1.0 site to new host

Post by mgcan » Thu Oct 04, 2007 6:03 am

Ok, edited the config file and still no joy. Blank preview page...help? Does it matter that the database (sql) file is in the database folder, but not in the actual database (named) folder? The server said they installed it for me.
Last edited by mgcan on Thu Oct 04, 2007 6:07 am, edited 1 time in total.

mgcan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Oct 04, 2007 3:12 am

Re: uploading 1.0 site to new host

Post by mgcan » Thu Oct 04, 2007 3:18 pm

Tech support tells me i just need to get the Name Servers switched for the domain and i'm good to go.

One question: where do i change email forwarding in Joomla files for the domain?

User avatar
brendonhatcher
Joomla! Hero
Joomla! Hero
Posts: 2744
Joined: Sun Feb 12, 2006 2:02 pm
Location: Durban, South Africa
Contact:

Re: uploading 1.0 site to new host

Post by brendonhatcher » Thu Oct 04, 2007 5:13 pm

Hi

The database files definitely have to be installed (SQL import).

Email forwarding - I guess you mean the email notifications to the site administrator?

Go to Site / Global configuration / Mail

Regards
Brendon
-----------------------------------
Web developer in Durban, South Africa - http://www.brilliantweb.co.za
Joomla Days in South Africa - http://www.joomladay.co.za

mgcan
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Oct 04, 2007 3:12 am

Re: uploading 1.0 site to new host

Post by mgcan » Thu Oct 04, 2007 7:23 pm

Thanks. By email forwarding, i mean where to find/change settings for the domain email account forwarding: "[email protected]>[email protected]"

User avatar
brendonhatcher
Joomla! Hero
Joomla! Hero
Posts: 2744
Joined: Sun Feb 12, 2006 2:02 pm
Location: Durban, South Africa
Contact:

Re: uploading 1.0 site to new host

Post by brendonhatcher » Fri Oct 05, 2007 11:02 am

Hi

That is done in the hosting control panel - it is not part of Joomla

Regards
Brendon
-----------------------------------
Web developer in Durban, South Africa - http://www.brilliantweb.co.za
Joomla Days in South Africa - http://www.joomladay.co.za


Locked

Return to “General Questions - 1.0.x”