Google
 

How to: Migrating Webhost

Calvin Michel Sidjaja on February 12th, 2008

After some 8 hours experimenting this and that, I finally managed to from my original  webhosting t 000webhost.com. Here are some simple steps you could do if you want to migrate from your webhosting to 000webhost (or any other webhosting service).

1. Login to your original webhosting site, and go to “manage domain” (not the cPanel, I warn you) change the value of the dns server into dns1.000webhost.com and dns2.000webhost.com, make sure that you remove all the original values given.

2.  Backup your file. This could be done by go to “backup wizard” in cPanel easily. Choose partial backup, because you couldn’t possibly restore full backup with one click.

3. Wait for some hours, and ping your site, see if the destination ip has changed. It means the transfer has succeeded

Restoring Your Files

1. Login to cpanel with given new username and password from 000webhost. From the cPanel, go to Restore Wizard, and restore all the backups you have downloaded.
(note: the mysql database strangely make a new database according to your zip filename.
If you want to avoid long name, change the file name first. I realized it too late)

2.  Go to MySqlDatabase, and create new user with all privilages. (Mark them all)

3. Go to MyPhpAdmin, there should has been a database already if you have done the 1st step correctly. Click the database name, and click import.

(but waitread the following alert first)

4.  Before you’re doing the 3rd step, extract the MySql database you downloaded earlier, and find the file in folder “MySql”, find the biggest file, it is the table you will import. Replace all the previous username with the username given by 000webhost. I didn’t realize it before last minute, that’s why I walking in loophole.

5. Finished! Congratz!

If you want to avoid all the hassle, you could do it by using Wordpress backup service. Go to Manage>Import, and Manage>Export, to import and restoring your wordpress. files

Referensi:
http://www.clearpointsystems.com/wp04/?page_id=18 (Panduan sangat bagus untuk migrasi dari hostingan satu ke lainnya. Sangat dianjurkan untuk membaca ini sebelum mengulangi kesalahan saya)

Free Web Hosting
000webhost.com (Free 250 mb+100 gb bandwidth webhost)

_________

Kalau anda mengakses situs ini dari jam 8 sampai jam 5 sore, anda pasti bingung kenapa site ini down. Jadi begini ceritanya, entah kenapa trafik situs saya melonjak jadi 600 mb dalam waktu 10 hari, kalau dibiarkan terus quota bandwidth saya yang HANYA 1 gb/bulan akan habis sebelum bulan februari berakhir. Berangkat dari ke-paranoid-an ini, saya mengikuti saran beberapa migrasi ke hostingan gratis karena fiturnya jauh lebih bagus dari hostingan yang saya pakai (idwebhost).

Akhirnya saya putuskan untuk migrasi ke 000webhost. Kenapa saya memilih hostingan ini? Lihat saja fiturnya: 250 mb, 100 GB bandwidth perbulan. O__O
Anyway, saya ada sedikit kesulitan dalam migrasi ke hostingan baru ini, soalnya saya masih awam sekali mengenai mysql. Berikut ini adalah langkah-langkah sayang saya lalui:

1. Mengbackup file-file di hostingan lama dengan menggunakan “Backup Wizard”, (Note: jangan cuma full backup, tapi partial backup, soalnya proses restore tidak bisa sekali proses, harus satu-satu)

2. Setelah menunggu sekitar 4 jam, ip address domain saya berubah, dan itu tanda bahwa migrasi sedang dalam proses

3. Mengganti ns domain di idwebhost dengan dns1.000webhost.com (dilakukan di manage domain, bukan di cPanel). 000Webhost memberikan 2 dns, sedangkan di idwebhost ada 4, jangan lupa hapus yang kolom ketiga dan keempat. Kalau tidak, akan muncul 404 error pada link-link di blog anda.
Yang paling ribet mungkin saat saya mengrestore isi situs saya, sumpah, ini bagian paling bikin frustasi karena tricky abis :((
yang harus dilakukan adalah:

1. Dari backup wizard, pilih “Restore” lalu pilih restore files dan restore mysql databases. Kalau anda sudah melakukan partial backup, upload data-data yang sudah anda download ke komputer. Awas: nama database ini tergantung dari nama file yang di upload. Kalau tidak mau terlalu panjang, gantilah nama tersebut menjadi lebih pendek. Punya saya sudah terlanjur *amat* panjang, tapi saya ogah merubahnya lagi.

2. Setelah databases sudah siap, sekarang pergilah ke MySql database, buatlah user name dan centang semua privilages untuk username tersebut. Username ini tampaknya dibutuhkan agar kita bisa memodif database dengan bebas selama berblogging.

3. Pergilah ke myPhpAdmin. Harusnya sudah ada 1 database jika anda sudah melakukan proses pertama. Sekarang, klik database tersebut, dan klik bagian import (tapi baca dulu poin 4).

4. Sebelum mengimport, bukalah file mysql yang anda download dari backup wizard, lalu replace-lah semua user name terdahulu dengan user name yang diberikan 000webhost. Saya baru ngeh disaat terakhir, makanya sempat pusing sendiri.

5. Selesai

Kalau anda ga mau repot-repot, gunakan saja fasilitas backup dari wordpress.

(Manage>Import, Manage>Export). Lebih cepat dan ga bikin pusing. Tapi mungkin beberapa database hilang, siap-siap saja ya.

Moga-moga panduan kecil ini membantu anda kalau mau migrasi nanti ;).

Popularity: 19% [?]

Tags: , , , , , , ,

Related posts

7 Responses to “How to: Migrating Webhost”

  1. Calvin Michel SidjajaFebruary 12th, 2008 at 6:22 pm

    Using Opera Opera 9.25 on Windows Windows XP

    testing komentar

  2. VerdinandFebruary 14th, 2008 at 6:07 pm

    Using Mozilla Firefox Mozilla Firefox 2.0.0.11 on Windows Windows XP

    gue yakin pasti ribet banget tuh
    tapi kalo udah beres
    jadi legaaa banget dehh

    blog lu juga sekarang lebih cepet Vin
    nggak lambat kayak hostingan dulu

    Gue juga mempertimbangkan hosting ke tempat lain
    mahal banget 20.000/bln di idwebhost
    ajarin entar ya

  3. Calvin Michel SidjajaFebruary 14th, 2008 at 6:18 pm

    Using Mozilla Firefox Mozilla Firefox 1.5.0 on Windows Windows XP

    sip deh. siapin mental ya, soalnya kemarin gw tuh paling stuck pas restore database-nya. mudah-mudahan loe lebih beruntung deh.

    bilangin aja kalo udah mau pindah.

  4. Calvin Michel SidjajaFebruary 15th, 2008 at 10:00 am

    Using Mozilla Firefox Mozilla Firefox 2.0.0.12 on Windows Windows XP

    testing #2

  5. ihwanFebruary 21st, 2008 at 6:38 pm

    Using Mozilla Firefox Mozilla Firefox 2.0.0.10 on Windows Windows XP

    Waktu itu saya udah pernah daftar di layanan ini, trus katanya kan untuk aktifin harus dapet kode lewat SMS, tapi kenapa y susah banget dapetin kodenya? mohon bantuannya, lewat one.moment@yahoo.com aja, Thx

  6. Calvin Michel SidjajaFebruary 21st, 2008 at 7:17 pm

    Using Mozilla Firefox Mozilla Firefox 1.5.0 on Windows Windows XP

    @ihwan
    coba daftar ulang, ktanya sudah tak perlu aktivasi via sms kok

  7. VitaJuly 11th, 2008 at 12:10 am

    Using Mozilla Firefox Mozilla Firefox 3.0 on Mac OS Mac OS X

    Wah saya kapok make 000webhost, sering mati, dan juga ada webku yang tau-tau dimatiin. trus iming2 referalna juga boong2an, banyak temen yang dah sering ketipu.
    Mending make idwebhost dan semacamnya, agak mahalan dikit tapi beres

Trackbacks/Pingbacks

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>