Skip to content
FunnelGuard

Fix guide by FunnelsGuard

DNS change breaks a subdomain: how to find and fix it

SEO-310High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

DNS (the Domain Name System) is the address book that tells browsers which server to contact for a name such as shop.example.com. Each subdomain has its own entry, often a CNAME (an alias to another hostname) or an A record (a direct IP address).

When you change nameservers, move DNS to a new provider, switch hosting or redesign the main site, the main domain is usually checked first. Subdomain records are often forgotten. They may have been added years ago by a different person for a shop, booking tool, landing page builder or help desk.

The result is a subdomain that does not resolve (browser error), loads the wrong site, or shows a certificate warning. Search engines and AI crawlers see the same failure.

Why it costs you leads or sales

Subdomains often hold the most valuable steps of a funnel: the checkout, the booking calendar, the members area or the landing pages for ads. If one disappears, every visitor sent there hits an error.

Where a missing subdomain record breaks the funnel
  1. Ad or search clickLink points to shop.example.com
  2. DNS lookupCNAME for shop. missing after the change
  3. Page or checkoutBrowser shows a server not found error
  4. Conversion and trackingNo purchase, no tag hits

The ad and main site work, but the DNS record for the subdomain is gone, so everything after it is lost.

There are also search effects. Googlebot that cannot resolve a hostname cannot crawl it, and pages on it may drop out of results if the failure lasts. Links from other sites and from your own pages to that subdomain lead nowhere. Because DNS answers are cached, the problem can appear hours after the change and in some regions before others, which makes it easy to miss.

Daily orders from a subdomain checkoutExample numbers
Daily orders from a subdomain checkout (example)Before change: 40 orders per day; Day of change: 32 orders per day; Day 2: 6 orders per day; Day 3: 0 orders per day01531403260Before changeDay of changeDay 2Day 3orders per day

Example: illustrative numbers only. Orders fall to zero once cached DNS answers expire after the change.

How to check if your site has it

Start with the subdomains you know about, then look for ones you forgot. Check from a network that has not cached the old answer, for example your phone on mobile data.

Check a subdomain after a DNS change
  1. Open the subdomain in a browser

    Look for errors such as DNS_PROBE_FINISHED_NXDOMAIN, a certificate warning, or the wrong website.

  2. Query the record

    Run the commands below. No answer, or NXDOMAIN, means the record is missing.

  3. Compare against the old zone

    Export or screenshot the old DNS zone before you retire it, and compare every CNAME, A, MX and TXT record with the new one.

  4. List your subdomains

    Check links in ads, emails, your sitemap and analytics reports for hostnames you use. Certificate transparency search tools can also reveal subdomains that had certificates issued.

Check what a subdomain resolves tobash
dig +short CNAME shop.example.com
dig +short A shop.example.com
dig +short NS example.com
# Ask a public resolver directly to bypass your local cache
dig @8.8.8.8 +short shop.example.com
curl -I https://shop.example.com

How to fix it

The fix is always the same in principle: put the record back, pointing to the right target, at the DNS host that is currently authoritative. The steps differ depending on where the subdomain is served from.

Restore the subdomain record
  1. Find the right values

    Use the old zone export, or ask the service behind the subdomain (shop platform, booking tool, landing page builder) for the record it needs.

  2. Add the record at the live DNS host

    Create the CNAME or A record with the same name (for example shop) and target as before.

  3. Restore related records

    Re-add TXT records for verification and email (SPF, DKIM) if they were also lost, so forms and emails keep working.

  4. Wait for the certificate

    If HTTPS shows a warning, the service may need a few minutes to issue a new certificate once DNS resolves correctly.

Where the record points depends on the platform
  1. Re-add the subdomain CNAME

    For a subdomain such as shop., create a CNAME pointing to shops.myshopify.com at your DNS host.

  2. Verify in Shopify

    In Settings > Domains, check the domain shows as connected and the SSL certificate is issued.

How to confirm it's fixed

Confirmation checks
  • dig +short returns the expected target from at least two public resolvers (8.8.8.8 and 1.1.1.1)
  • The subdomain loads over HTTPS with no certificate warning
  • The page returns status 200, not a redirect loop or error
  • Forms, checkout or booking on the subdomain complete a test run
  • Tracking tags fire on the subdomain pages
  • Test email and verification records (SPF, DKIM, TXT) are present
  • Google Search Console shows no new server connectivity or DNS errors for the property

How to prevent it happening again

A safe DNS change
  1. Before

    Export the full zone and list every subdomain and what it is used for.

  2. Before

    Lower the TTL (cache time) on key records a day ahead, so mistakes can be corrected fast.

  3. Change

    Recreate all records at the new host and test them before switching nameservers.

  4. After

    Check each subdomain from outside your network and run a test journey on each.

  5. Later

    Keep the old zone export for a few weeks in case a forgotten record turns up.

Keep a simple register of subdomains with the owner, the service behind each one and where its DNS record lives. That turns a forgotten record into a checklist item.

How FunnelGuard handles this

FunnelGuard detects this only partly. It tracks DNS fingerprint changes: when the DNS answers for your monitored site change from what it saw before, that change is noticed. A fingerprint change is a signal that something moved, so you know to look.

What it does not do: it does not audit your whole DNS zone, discover subdomains you have not set up journeys for, or compare your old and new zone record by record. It also does not tell you which record was forgotten. A fingerprint change does not always mean a break either, since planned moves change it too.

To cover the rest by hand: export your zone before any change, list every subdomain, run the dig checks above after the change, and add a journey in FunnelGuard for each business-critical subdomain (shop, booking, landing pages). A journey that runs on a schedule fails and alerts you, with a screenshot, if the page stops loading, after a re-check from a second region. FunnelGuard has a Free plan (1 site, 2 journeys, daily checks, no card) and paid plans with a 3-day free trial.

Questions people ask

Why is my subdomain not working after I changed DNS?

Most often the subdomain's CNAME or A record was not copied to the new DNS host, or the nameservers now point somewhere that does not hold it. Run dig +short on the subdomain and compare the new zone with the old one. Re-add the missing record at the DNS host that is authoritative.

How long does it take for a DNS change to take effect?

It depends on the TTL (cache time) of the old records and on resolver caches, and can range from minutes to a day or more. Because of caching, a subdomain can appear fine for you but fail for others. Check using a public resolver and a different network.

How do I find all my subdomains after a DNS migration?

Export the zone from your old DNS host before changing anything and read every CNAME and A record. Also check links in ads, emails, sitemaps and analytics for hostnames you use, and search certificate transparency logs for subdomains that had certificates.

Why does my subdomain show a certificate error after a DNS change?

The service behind the subdomain issues its SSL certificate only once DNS points correctly to it. If the record is missing or wrong, the certificate cannot be issued or renewed. Fix the record, then wait a few minutes for the certificate to be issued.

Can a broken subdomain hurt my SEO?

Yes. If crawlers cannot resolve the subdomain, they cannot crawl its pages, and pages may drop from results if the problem lasts. Links pointing to it also lead to errors. Restoring the record promptly limits the damage.

Does changing nameservers delete my subdomain records?

Changing nameservers does not delete records at the old host, but the new host starts with only the records you create there. Any subdomain record you do not recreate stops resolving once the new nameservers take over.

Will FunnelGuard alert me if a DNS change breaks a subdomain?

Partly. FunnelGuard tracks DNS fingerprint changes, and a scheduled journey on that subdomain will fail and alert you if the page stops loading. It does not audit your full DNS zone or find subdomains you have not set up a journey for.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: DNS fingerprint changes tracked.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.