Cara Migrasi Website ke Hosting Baru - Tutorial Lengkap Tanpa Downtime
Mau pindah hosting tapi takut website rusak atau down? Tutorial ini akan memandu Anda step-by-step migrasi website WordPress dengan aman dan tanpa downtime.
Migrasi Aman & Cepat
⚠️ Kapan Harus Migrasi?
- Hosting lama sering down atau lambat
- Harga hosting terlalu mahal
- Customer service tidak responsif
- Mau upgrade ke hosting yang lebih baik
- Butuh fitur yang tidak ada di hosting lama
📋 Yang Perlu Disiapkan
✅ Hosting Baru
Pastikan sudah aktif & bisa diakses
✅ Akses cPanel/SSH
Hosting lama & baru
✅ Backup Website
File + Database
✅ Akses Domain
Untuk update DNS/nameserver
🚀 Step-by-Step Migrasi
Step 1: Backup Website Lama
Via Plugin (Mudah):
- Install plugin "All-in-One WP Migration" atau "Duplicator"
- Go to plugin menu → Export
- Download file backup (.wpress atau .zip)
- Simpan di komputer Anda
Via cPanel (Manual):
- Login ke cPanel hosting lama
- File Manager → Compress semua file website (public_html)
- Download file .zip
- phpMyAdmin → Export database (format SQL)
Step 2: Setup di Hosting Baru
- Login ke cPanel hosting baru
- Buat database baru (MySQL Database)
- Catat: Database name, Username, Password
- Upload file backup ke public_html
- Extract file backup
Step 3: Import Database
- phpMyAdmin → Pilih database baru
- Tab "Import" → Choose file database (.sql)
- Klik "Go" → tunggu proses selesai
Step 4: Update wp-config.php
Edit file wp-config.php, update:
define('DB_NAME', 'database_baru');
define('DB_USER', 'username_baru');
define('DB_PASSWORD', 'password_baru');
define('DB_HOST', 'localhost'); // atau sesuai info hosting
Step 5: Testing
Sebelum update DNS, test dulu:
- Gunakan temporary URL dari hosting baru
- Atau edit file hosts di komputer
- Check semua halaman, form, checkout (jika toko online)
- Pastikan tidak ada error
Step 6: Update DNS/Nameserver
Jika testing OK:
- Login ke domain registrar (Namecheap, GoDaddy, dll)
- Update nameserver ke nameserver hosting baru
- Tunggu propagasi DNS (1-24 jam)
✅ Step 7: Verifikasi & Cleanup
Setelah DNS propagasi selesai:
- Check website dari berbagai device & browser
- Verify SSL certificate (jika ada)
- Test email (jika ada email di domain)
- Monitor 3-7 hari untuk memastikan stabil
- Baru cancel hosting lama setelah yakin 100% lancar
⚠️ Troubleshooting
Error: Database Connection
Solusi: Double check wp-config.php, pastikan DB_NAME, DB_USER, DB_PASSWORD sudah benar
Error 500 / Internal Server
Solusi: Check .htaccess, coba rename jadi .htaccess_old dan regenerate dari WordPress Settings → Permalinks
Images/CSS tidak load
Solusi: Update URL di database dengan plugin "Better Search Replace" atau "Velvet Blues Update URLs"
💡 Tips Pro
- Lakukan migrasi di jam traffic rendah (malam/dini hari)
- Jangan cancel hosting lama sebelum yakin 100% lancar (min 7 hari)
- Backup lagi setelah migrasi berhasil
- Document semua credentials (database, FTP, dll)
Tidak Punya Waktu atau Takut Salah?
Kami mengerti bahwa tutorial di atas mungkin terlihat rumit dan memakan waktu.
Satu kesalahan kecil bisa membuat website Anda down atau bermasalah!
✅ Solusi: Biar Profesional yang Handle
- Dikerjakan oleh tim berpengalaman
- Selesai cepat tanpa trial-error
- Garansi 100% berhasil
- Include troubleshooting & support
- Free konsultasi
Garansi Uang Kembali Jika Tidak Puas
📚 Artikel Terkait
Cara Optimasi Kecepatan Website
Tingkatkan loading speed website Anda
Install SSL Certificate
Amankan website dengan HTTPS