Start with an inventory, not a cancellation

Before closing the old account, record every service tied to the domain. Include web files, databases, uploads, scheduled tasks, environment variables, redirects, integrations, forms and administrator accounts. Treat email separately: list mailboxes, aliases, forwarding rules, autoresponders and the delivery provider.

Export the current DNS zone or make a record-by-record copy. Check A and AAAA records, MX mail routing, TXT records for SPF, DKIM and DMARC, verification tokens, SRV records and subdomains. cPanel warns that transfer settings can affect DNS and mail routing, and custom records can be lost if the source is shut down too early.

  • Confirm who controls the registrar, authoritative DNS, hosting account and email service.
  • Note the current PHP or runtime version, database engine, web server rules and SSL renewal method.

Build and test the new copy privately

Create a fresh backup and, where possible, restore it to the new host rather than copying only the public web directory. Import the database, media and scheduled tasks, then install required runtime extensions. Move secrets through a protected channel.

Test with a temporary hostname, hosts-file entry or preview method. Check representative pages, login, password reset, forms, uploads, critical workflows, redirects, robots behavior and admin access. Review error logs. If the application writes data, plan a brief maintenance window or final database sync so new orders or registrations are not stranded on the old server.

Plan DNS and domain timing

DNS changes are cached by resolvers, so a cutover is not instantaneous. Cloudflare recommends lowering critical-record TTLs at least 24 to 48 hours before migration, with 300 seconds as a common short value, while warning that the longest existing TTLs still influence timing. Lowering TTL does not erase caches that were already filled; it simply prepares later lookups to refresh sooner.

If you are only changing the hosting IP, update the relevant A or AAAA record and leave unrelated mail and verification records intact. If you are changing authoritative nameservers, recreate and compare the entire zone before changing delegation. DNSSEC needs special care: an incompatible or stale DS and key chain can make a domain unreachable for validating resolvers.

Protect the control plane

The registrar and DNS dashboard are as important as the server itself. CISA recommends reviewing records, changing passwords for accounts that can alter DNS, and enforcing multifactor authentication. Use unique credentials, limit administrative access, and verify that the nameservers and key records still point where you expect after the change. Keep the old host available during the observation period, but remove unnecessary access when the migration is settled.

A legitimate offshore host may offer a different jurisdiction or billing arrangement, but it should still provide clear abuse contacts, access controls, backups and operational transparency. Location is not immunity from law, takedown requests, outages or security failures. Choose a provider willing to investigate credible abuse rather than one advertising that it ignores it.

Cut over, observe, and only then retire

Make the DNS change during a staffed, low-traffic window. Confirm resolution from more than one network and check both the domain and important subdomains. Watch application logs, response codes, certificate warnings, queue or mail delivery, CPU and storage. Send a controlled test message in both directions and verify that external senders still find the intended MX records.

Do not transfer the registrar simply because you are changing hosts. ICANN notes that hosting can be changed by updating nameservers or the hosting IP without an inter-registrar transfer, while new registrations, recent transfers and some contact changes can trigger 60-day restrictions. Keep dated backups and the old service until traffic, data writes and email are stable for a period appropriate to the site. Then revoke old credentials, cancel carefully and document the final architecture.

Sources & further reading

Explore the documentation and reporting that informed this article.