Moving Thai Hosting 2026 — Complete Website Migration Guide
Migrating your website to a new hosting provider is one of the most stressful tasks for website owners — but it doesn't have to be. With proper planning and the right steps, you can complete a hosting migration with minimal or zero downtime. This guide walks you through every step of the process.
Before Migration: Essential Checklist
- Back up all website files (complete file backup + database export)
- Document all current DNS records
- Reduce DNS TTL to 300 seconds (5 minutes) 24-48 hours before migration day
- Prepare new hosting credentials (DirectAdmin username/password, FTP details)
- Notify team members or clients of scheduled maintenance window
Step 1: Back Up Everything
This is the most critical step — never start a migration without a complete backup:
- Back up all website files via DirectAdmin or FTP download
- Export the database via phpMyAdmin or mysqldump
- Store the backup on your local computer or cloud storage — NOT on the old hosting server
Migrating WordPress
The easiest method: use the All-in-One WP Migration plugin.
- Install All-in-One WP Migration on your existing WordPress site.
- Export → Download the .wpress file (contains both files and database).
- Install a fresh WordPress on the new hosting.
- Install All-in-One WP Migration on the new WordPress.
- Import the .wpress file you downloaded.
- Test the site via hosts file modification before changing DNS.
Manual Migration (Non-WordPress)
- Upload all files to the new hosting via FTP.
- Create a new database on the new hosting.
- Import your .sql backup via phpMyAdmin.
- Update configuration files (database host, username, password for new hosting).
- Test via hosts file before changing DNS.
Testing with Hosts File
Before changing DNS, test that the site works on the new hosting by temporarily modifying your computer's hosts file:
Windows: C:\Windows\System32\drivers\etc\hosts
Mac/Linux: /etc/hosts
203.0.113.1 example.com # New hosting IP
With this entry, your browser will connect to the new hosting while DNS remains unchanged — allowing you to fully test before the public sees any changes.
Changing DNS
Once testing confirms everything works on the new hosting:
- Update the A Record in DNS to point to the new hosting IP address.
- Wait for DNS propagation (5-60 minutes with low TTL set beforehand).
- Verify propagation via dnschecker.org.
- Remove the hosts file entry from your computer.
Frequently Asked Questions
Will moving hosting affect my SEO rankings?
If done correctly — same URLs, same content, minimal downtime — SEO rankings should not be significantly affected. Brief downtime may cause minor temporary impact, but rankings typically recover quickly.
How long does a hosting migration take?
Small sites: 1-2 hours. Larger sites: 4-8 hours. Plus DNS propagation time of 1-48 hours. Plan for a full day to be safe, especially for business-critical sites.
How do I know if the migration was successful?
Post-DNS change verification checklist: 1) Site loads normally. 2) Forms and login work. 3) All images display. 4) SSL works (https). 5) Email sending and receiving works. 6) No mixed content warnings in browser console.
When should I cancel my old hosting?
Wait at least 1-2 weeks after successful migration before canceling. This ensures DNS has fully propagated everywhere and you have time to catch any issues that require accessing the old hosting files.