Categories

Guide to move your Host

Hi, I will Guide You To Some of the Easiest Ways To Move your website To a Different Host or Server…..
If Anyone Wants To add His Methods he/she is Most Welcome After i finish all of my methods
Make The Changes For Your Domain Name

Well if you are changing your Host Obviously your website Ip address will get Changed …

So you have to make Certain Changes In Your Control pannel so that Whenever someone ask a browser to show your site it goes now to the new server

So Login To Your Domain Control Pannel…

1. Change your dns Name Servers
2. DNS Name Servers Ip’s That your new Host has provided You …..

If you Dont Have a seperate Domain Control Pannel like most of the guys Purchase the domain name with hosting pack
In this case you can ask your previus Host to do these Settings For You

This process is called the propogation of a domain !!
Plz note that you should allow atleast 24-48 Hours to get your domain name propogate to the new host …
You can check the propogation By Pinging up your site in Start > Run > Ping yoursitename.com

and Notice the ip changes Regularly….
When you see the new ip your domain propogation is Done :)

As Soon As You Submit Your Dns Name server Changes To Take Effect …

Open up Your Ftp

and Copy paste all The Complete Forum Folder On Your Hdd….

This will take some time depending on your Connection Speed , But this will save you from making the Modification Edits Again…..

Side By Side you can Make the backup of your database and download it on your hdd too

How To Backup Your Database….

1. You Can ask your host to make a backup for you and place it somewhwre in your home directory so that you can download it
2. If you Have a Host With The Cpanel … You Can Do That By Going To Backup Options > & Clicking on the database name that your Forum Is Using
3. The most Easiest way which i use myself Is Setting a Cronjob To Make a Backup for your Database…
Many of the Host allow You CronJobs…..
So To Make a backup of your Database using Cronjobs

All you have to do is
* Login into your Cpanel of your Host
* Go To CronJobs
* If any options are appearing to u select the advanced Unix Option ….. ( those who are not getting this option skip it )
* Fill These Up Acc. To Your Choices…

Minute Hour Day Month Weekday Usually i prefer
Code:
Minute Hour Day Month Weekday 0 3 * * *
and the Command will be :
Here Just replace
database name –>> with your database name
database password –>> with your database password
databaseusername –>> with your database username
accountname –>> usually your cpanel username :d
and set the cron

Now create a director named : sqlbackup in your html directory and chmodd it to 777
always a put blank index.html in this folder so that if anyone enters the path
like yourdomain.com/sqlbackup he see that page tongue.gif

So Now the Cron will automatically backup your databse everyday at 3.am :)

4. Using PHPMyAdmin

Login to PHPMyAdmin.

Select the database you wish to use.

On the nav bar on the top select “Export” (besides SQL, Structure, Search, Query etc.)

You should now be presented with a nifty little page which shows all the tables in the database, SQL Options and Save types.

Note: Yes the tables of the database will be shown to the far left in a frame, but they will also be displayed in a different form on this new page to the right in PhpMyAdmin.

To backup the whole database click “Select All” under the list of tables in the page.

To backup a selected few, just hold down CTRL on your keyboard and select the tables you wish to backup (release the Key when all selecting is done!)

SQL Options can be left as default, but I suggest ticking the “Add DROP TABLE” option as if you are restoring a backup on a database that already exsists and has the table in it - you will get a lot of errors! This way, by ticking the “Add DROP TABLE” you will avoid the errors. For more information on the options just click the little “?” icon after SQL Options.

If you want to save the backup as a file (Recommended) then tick “Save as file” - Leave file name as is or edit for your needs. Select “gzipped” as compression. Now click “Go”. If asked, choose “Save to disk” and save it wherever on your computer (It may take sometime depending on the size)!

If you want to show the whole backup SQL on your browser window, don’t tick “Save as file” - once you have selected the tables you wish to backup (explained in Step 5/6) click “Go”. The page will now change and should show the SQL information. (It may take sometime depending on the size). Copy and paste it to a text file or do whatever you want with it!
5. Using SSH
Note: Some hosts do not offer SSH access. Contact your host to find out more information about the use of SSH.
Connect to your host via SSH, login & run: mysqldump –opt -u user -p dbname > {path}/backup.sql
You will be asked to type out your password once you run that command, do so & click enter. It may take some time for it to respond, but once completed you should be brought back to where you started (bash/command line).
Transferring The Files and Database To The New Host ….
Now you have the database with you and all the forum diretories and all files with you ??
Now You Most of the work Is Done :D
Next step is to upload those all Fresh Files On The New Server ….
after you have uploaded all those files in your forum directory on the new server …
You need to make a upload of the install.php file again on your new servers forums/install directory !!
Now Go to your Host control pannel and make a new database
After then…
Go to yourdomain.com/install/index.php and install the board again !!
Note : as you have uploaded your old files as it is in this server , after finishing the installation your forum can give you some sql or ips driver Error …
This is because of the edits that you have made to the php files for installing your modifications….
So dont worry !! This will be vanished after you import your databse again !
If you dont want to see these errors you can always upload the fresh files and folders from your client and make a fresh and neat install instead of using your old Files..
But the first step makes you save a lot of time smile.gif

Importing your database….
I have experimented with all the ways to import the database .. but the best and the easiest i have forund is the Use of Bigdump
Just download the file
and open it with a text editor like notepad or wordpad
find these in the bigdump script

// Database configuration
Code:

$db_server = ‘localhost’; $db_name = ‘’; $db_username = ‘’; $db_password = ‘’;

make the changes as per your information !!
Now save and upload the bigdump.php file in your forums root directory
if you are seeing the conf.global.php you are in the right place to upload it !!
and then upload your backedup database in the same directory
now go to :

Code:
urdomain.com/forums/bigdump.php
in the biglist you will see your database
just import it and the wolla its Done it will prompt you after its Done

Now just login onto your forums and see for your minor Bugs If Any !!

Basically many people face the ASCII Characters Problem after importing the database

If you face this problem Just follow these steps in a sequĂȘnce and its Done

Admin CP > Tools and Settings > Recount & Rebuild. Run the following in this order:

Rebuild User Names
Resynchronize Topics
Resynchronize Forums

The summary !!
1. do your board offline
2. Backup your database
3. backup all your files
4. upload the files on the new server
5. do a fresh install of ipb ith those files
6. Import the database Back to your new host
7. Check for any errors
Done
if you do everything right You will never face any problem ….
Thanks.

Explore posts in the same categories: Web Hositng

Comment: