Skip to main content

How to Restore DNS After a Hosting Migration

If a website or service fails to function correctly after you have updated your DNS to point to Hostek, you can roll back the migration to your previous host. This process involves reverting your DNS records to their original values.

Important: A rollback is only successful if you have not yet deleted your accounts or data with your previous hosting provider.

Before you begin

You will need:

  • Access to your domain registrar's management console.

  • The original DNS records (A, CNAME, MX, etc.) provided by your previous hosting company.

  • A list of the specific records that were changed during the migration.

Reverting DNS to the Previous Host

  1. Log in to your domain registrar's account.

  2. Navigate to the DNS Management or Name Server Management section for your domain.

  3. Identify the records that were changed during the migration.

  4. Replace the current Hostek values with the original values from your previous provider.

  5. Save the changes.

Warning: Changing DNS records can cause a period of instability as the new values propagate across the internet. During this time, your website or email may be intermittently available or unavailable.

Verification of Rollback

Once you have updated the records, you must monitor the transition.

  • DNS Propagation: Use a tool like dnstxt.com or mxtool_browser.com to verify that the records are returning to the previous provider's values.

  • Service Availability: Verify that your website loads correctly and that email is being delivered to the correct mailboxes.

  • Consistency: Ensure that both the "www" and non-www versions of your domain point to the correct location.

If the site remains inaccessible after the change

If the site does not appear to revert after the expected propagation time, check the following:

  • Cached DNS: Clear your local computer's DNS cache (e.g., ipconfig /flushdns on Windows).

  • Browser Cache: Clear your browser's cache or attempt to view the site in an Incognito or Private window.

  • TTL Settings: If the Time to Live (TTL) was set to a high value before the migration, it may take longer than usual for the old records to be purged from global caches.

Limitations

  • Propagation Time: You cannot bypass the time it takes for DNS changes to propagate globally. This is determined by the TTL (Time to Live) of the records.

  • Email Delay: Email records (MX) may take longer to update than web records (A/CNAME).

  • Old Provider Status: If you have already canceled your service or deleted your data with your previous provider, a rollback will not restore your data or service.

Did this answer your question?