Copy Drupal to a new Hosting

bishoy_s - May 11, 2008 - 19:39

Sorry if this topic already exists; i didnt look around enough.

I was asking,
what If I had a drupal website somewhere on some Hosting,
then
I got a new Hosting,
I wanan copy the whole website there.
how do i assign the folder i'll paste in the new hosting to the new database i'll have in the new hosting!! ?

=-=

VeryMisunderstood - May 11, 2008 - 19:44

turn off clean urls

use DB tool
clear cache tables
clear sessions table
clear watchdog table
export DB

move files from old host to new host
import DB
alter settings.php to point to new hosts DB
turn on clean urls again

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

thanks a lot i appreciate ur

bishoy_s - May 13, 2008 - 18:28

thanks a lot
i appreciate ur answer but im sorry cuz
i don know how to:

turn on and off clear urls
clear cache, session watchdog tables !!!
what's the DB

how to alter settings.php (what do u mean by alter?)

thanks in advance

=-=

VeryMisunderstood - May 13, 2008 - 19:52

cleanr urls is enabled or disabled in adminsiter -> cleanr urls
clear cache, sessions and watchdog tables uisng your database tool like phpmyadmin

the DB - Database

settings.php holds your database information find $db_url in your settings.php file, compare it to a clean settings.php file.
when you move Drupal from one host to another your datbase location and information will change, as such you have to manually alter settings.php to point to the new DB.

the other option, though I"ve never done it is to install a fresh drupal using new drupal files, then import your datbase from the old site. Again using a tool like phpmyadmin or whatever your host provides for you to work within your database.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

thank u so much!! very

bishoy_s - May 15, 2008 - 14:11

thank u so much!!
very helpful n to the point

 
 

Drupal is a registered trademark of Dries Buytaert.