How to Migrate Legacy Reseller Hosting Accounts Safely
In this article
Migrating a legacy reseller hosting account involves transferring control, data, and client management from an outdated provider to a modern platform. This process ensures that your existing clients retain access to their websites while you upgrade to better infrastructure, security, and support. Before starting, you must have administrative access to both the current (legacy) host and the new host, along with a clear inventory of all hosted domains, databases, email accounts, and SSL certificates associated with the reseller package.
What You'll Need
- Admin credentials for the legacy reseller account
- Admin credentials for the new hosting provider
- A list of all domains, subdomains, and parked domains under the reseller account
- Dump files or database names for every MySQL/MariaDB database
- Email account details and mailbox sizes if migrating mail
- SSL certificate details or private keys if self-managed
- FTP/SFTP credentials for file access on the legacy server
- A staging environment or temporary DNS settings for testing
Step-by-Step
- Audit Your Current Setup: Log into your legacy reseller control panel (typically cPanel WHM). Generate a complete list of all accounts under your reseller umbrella. Note down each domain, the associated username, disk usage, and any special configurations like cron jobs or custom PHP versions. Export this data to a spreadsheet for reference.
- Create Accounts on the New Host: Set up equivalent reseller or white-label accounts on your new hosting provider. If the new host uses a different control panel (e.g., moving from cPanel to Plesk), ensure you understand the mapping differences. Create individual user accounts for each client domain in the new environment, matching the resource limits (disk space, bandwidth) as closely as possible to avoid immediate overages.
- Transfer Website Files: Use FTP/SFTP to connect to the legacy server. Download all public_html folders for each client account. Upload these files to the corresponding directories on the new server. For large sites, consider using rsync or a dedicated migration tool provided by the new host to preserve file permissions and ownership correctly. Verify that no hidden files (like .htaccess) were missed during the transfer.
- Migrate Databases: Export each MySQL database from the legacy server using phpMyAdmin or the command line (mysqldump). Import these SQL files into the newly created databases on the new host. After import, check the wp-config.php or configuration files of CMS platforms (like WordPress) to ensure the database hostname, username, and password are updated to reflect the new server’s credentials. Test login functionality immediately.
- Handle Email Migration: Decide whether to migrate emails or start fresh. Migrating emails requires POP3/IMAP tools or specialized software like imapsync. If migrating, configure the new mail server to accept incoming mail for the domains. If not, notify clients to update their email clients to point to the new MX records after DNS propagation. Ensure SPF, DKIM, and DMARC records are configured on the new host to prevent spam filtering issues.
- Update DNS Records: Once files and databases are verified on the new server, lower the TTL (Time to Live) values for your domain’s A and CNAME records 24–48 hours before the switch. Then, update the nameservers or A records at your domain registrar to point to the new hosting IP addresses. Monitor propagation using global DNS checkers to ensure all regions are resolving to the new host.
- Verify SSL and Security: Install SSL certificates on the new server. If you had Let's Encrypt or commercial certs, reissue them on the new host. Verify that HTTPS is working for all domains. Check that security headers, firewalls, and mod_security rules are replicated from the old environment to maintain protection levels.
- Notify Clients and Decommission: Send a notification to all resold clients confirming the migration is complete, providing new login credentials if changed, and outlining any steps they need to take (such as updating email clients). Keep the legacy account active for a grace period (e.g., 7–14 days) to handle any unexpected issues before fully canceling the service.
Common Mistakes
One frequent error is failing to back up databases before migration. Always create a full backup on the legacy server before making changes. Another mistake is neglecting to update database credentials in application config files, which leads to "Error Establishing a Database Connection" messages. Additionally, many users forget to migrate cron jobs, causing scheduled tasks like backups or cache clearing to stop working. Finally, rushing the DNS change without lowering TTL first can result in prolonged downtime as old cached records persist globally.
Tips
Use a staging URL during the migration process to test site functionality without affecting live traffic. If your new host offers automated migration services, utilize them for complex setups, but still verify the results manually. Document every step taken, including timestamps and any errors encountered, to assist troubleshooting. Communicate clearly with clients about expected downtime windows, even if minimal, to manage expectations. Consider migrating one client at a time if the reseller account is large, allowing you to isolate and resolve issues more effectively.
Troubleshooting
If websites fail to load after DNS propagation, check that the A record points to the correct IP address and that the web server has the domain added as a virtual host. For database connection errors, verify that the database user has privileges on the new server and that the hostname is localhost or the specific DB server address required by the host. If emails are not receiving, check MX record propagation and ensure the mail server is running. For SSL errors, confirm that the certificate matches the domain name and is installed in the correct directory. If file permissions are incorrect, reset ownership to the appropriate user via SSH or the control panel.
Frequently Asked Questions
Can I migrate my reseller account without downtime?
You can minimize downtime by setting low TTLs beforehand and switching DNS during off-peak hours. However, some brief interruption is possible during propagation.
Do I need to move email accounts separately?
Emails are not automatically moved with website files. You must use IMAP/POP3 tools or ask your new host for email migration assistance.
What if my database is too large to upload manually?
For large databases, use command-line tools like mysqldump and mysql, or request a manual migration from your new hosting provider’s support team.
Will my SSL certificates transfer automatically?
No, SSL certificates are tied to servers. You must reinstall or reissue them on the new host. Let's Encrypt can be automated via plugins.
How long does the DNS propagation take?
Propagation typically takes 24–48 hours, though it often completes within a few hours depending on your ISP and previous TTL settings.
Is it safe to cancel the old host immediately after migration?
No. Keep the old account active for at least a week to retrieve any missed files or troubleshoot issues before final cancellation.