Moving host, is there a right way to do this?

Moving host, is there a right way to do this?

Postby jonsey » Fri May 21, 2010 1:00 am

I want to move web host, can anyone give advice on how to go about doing this?




Thanks ...
jonsey

 
Posts: 17
Joined: Tue Mar 30, 2010 5:41 am

Re: Moving host, is there a right way to do this?

Postby twitch » Fri May 21, 2010 3:05 pm

First backup all files in your servers web dir for ans. second take a database backup from phpmyadmin or whatever you may use. copy all files to new host and create the database on the new host and import your DB over to it. if you need more help just say so I will help with more detailed instructions.
twitch

 
Posts: 254
Joined: Sat Feb 20, 2010 12:09 am

Re: Moving host, is there a right way to do this?

Postby jonsey » Fri May 21, 2010 3:21 pm

There is no need to install ANS first onto the new host?

Thanks twitch
jonsey

 
Posts: 17
Joined: Tue Mar 30, 2010 5:41 am

Re: Moving host, is there a right way to do this?

Postby twitch » Sun May 23, 2010 3:46 am

No need as you will be importing your old database if your domain changed though I believe you will need to edit the site url in the DB
twitch

 
Posts: 254
Joined: Sat Feb 20, 2010 12:09 am

Re: Moving host, is there a right way to do this?

Postby DimaK » Sun Jul 04, 2010 8:31 pm

If on your old and on your new web hosting provider you have same control panel,
then move can be easy.

You can use internal Backup/Restore function of control panel.

For CPanel control panels you can see this tutorial:
http://www.avahost.net/demos/backup.html

1. So make backup of your files, backup of your database.
2. Then Restore backups on your new hosting.
That's all.

If control panels are different - then
1. download all files from old server,
2. with the PhpMyAdmin on the old server "Export" database and download "dump" of your database.

3. upload all files to the new server.

4. Create new database for your site on the new server.
http://www.avahost.net/demos/mysqlwizard.html

5. Go to PhpMyAdmin on the new server , click to the new database name you just created,
click to "Import" and restore content of database.

Note: often on different servers you will have different servers paths to files and folders.
(for example main folders
for Plesk is
/var/www/vhosts/DOMAIN.NAME/httpdocs/
for CPanel
/home/USERNANE/public_html/


Also, database name on the old and new servers will be different.
So before uploading "/includes/config.php" to the new server - edit it
and enter new correct path(if needed) , database name etc.
DimaK

 
Posts: 2
Joined: Sun Jul 04, 2010 5:12 pm

Re: Moving host, is there a right way to do this?

Postby jonsey » Wed Jul 07, 2010 2:58 am

Thanks Dimak

Just wondering about the "Number of cache Files: 25,655 | Size of cache dir: 993.43 MB" do we move the "cashe folder" over to or start "fresh"

On another note, how often should one use the "Clear cache" command in control panel


thanks again
jonsey

 
Posts: 17
Joined: Tue Mar 30, 2010 5:41 am

Re: Moving host, is there a right way to do this?

Postby twitch » Thu Jul 08, 2010 9:39 pm

start over fresh just remove all files from the cache folder or do a clear cache in admin then after the move do a clrear aswell
twitch

 
Posts: 254
Joined: Sat Feb 20, 2010 12:09 am


Return to Help & Support

Who is online

Users browsing this forum: No registered users and 1 guest