Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Old server still serving traffic after hosting migration: fix

OPS-092Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

When you move a website to a new host, you change DNS (the system that maps your domain name to a server's IP address) so the domain points to the new server. The change is not instant. Some visitors, networks or services can keep reaching the old server for hours or days.

The result is a split: part of your traffic sees the new site, part sees the old one. The two copies have separate databases, so form entries, orders and bookings land in different places.

Common causes:

Why the old server keeps getting traffic
  • A long DNS TTL (time to live, how long resolvers cache an answer) was set before the move
  • A second A or AAAA record still points to the old IP, so visitors are served in rotation
  • The www and non-www names point to different servers
  • A CDN or proxy (for example Cloudflare) still has the old server as its origin
  • Nameservers were changed at the registrar but old DNS zone still exists at the previous host
  • An IPv6 (AAAA) record was left on the old host
  • A hosts file entry or hard-coded IP in an integration, webhook or payment callback

Why it costs you leads or sales

The old server is usually forgotten. Its form may send email to an address nobody reads, its checkout may use outdated settings, and its tracking may be missing or different. Leads and orders can vanish into a database you no longer watch.

Where a split migration loses leads
  1. Visitor opens siteResolver returns cached old IP
  2. Old server respondsOutdated copy of the site
  3. Form submittedStored in old database
  4. New inbox and CRMNever receives the lead

Visitors on stale DNS reach the old server, so their submissions never reach the new inbox or CRM.

Leads split between two serversExample numbers
Leads split between two servers (example)Reach new inbox: 70 leads; Stuck on old server: 30 leads027547030Reach new inboxStuck on old serverleads

Example: 100 weekly form submissions while about 30% of visitors still reach the old server. Numbers are illustrative.

Other side effects: prices or offers that differ between copies, an expired SSL certificate on the old host showing browser warnings, and analytics that undercount because the old copy has no tracking or different tag IDs.

How to check if your site has it

You need to see which server answers from different places and networks. One check from your own computer is not enough, because your resolver may already have the new address.

Find out which server is answering
  1. List your DNS records

    Look up A, AAAA and CNAME records for the root domain and www. Every address should belong to the new host. Any old IP is a problem.

  2. Query several public resolvers

    Ask different resolvers (for example 1.1.1.1, 8.8.8.8 and your ISP's) for the same name. Different answers mean the change is still propagating or a stale record exists.

  3. Check the nameservers

    Run an NS lookup. If the registrar lists the new nameservers but the old host still has an active zone, edit or delete the old zone.

  4. Add a marker to the new server

    Put a unique line, such as an HTML comment or response header, on the new server only. Then load the site repeatedly from different networks and see whether the marker is missing.

  5. Review old server logs

    Check access logs on the old host. Real visitor requests after the cutover confirm it is still serving traffic.

  6. Compare forms and data

    Look in the old database or form plugin for entries dated after the move.

Compare DNS answers from different resolversbash
dig +short A example.com @1.1.1.1
dig +short A example.com @8.8.8.8
dig +short AAAA example.com @8.8.8.8
dig +short A www.example.com @1.1.1.1
dig +short NS example.com
curl -sI https://example.com | grep -i -E 'server|x-served-by|date'

How to fix it

The goal is one source of truth: every DNS record, CDN origin and integration points at the new server, and nothing answers from the old one except a redirect.

Finish the cutover
  1. Fix the DNS records

    At your active DNS provider, make sure the root and www records (A, AAAA, CNAME) point only to the new host. Delete old IPs, including IPv6 records.

  2. Confirm which DNS provider is active

    Only the zone at the nameservers your registrar lists counts. Edit that one, and remove stale zones at the old host.

  3. Update the CDN or proxy origin

    If you use a CDN, set its origin to the new server and purge its cache.

  4. Recover data from the old server

    Export form entries, orders and users created on the old server since the cutover and import or forward them to the new system.

  5. Update hard-coded addresses

    Check webhooks, payment callbacks, API allow-lists and email SPF records that mention the old IP.

  6. Keep the old server as a safety net

    Leave it running, ideally in read-only or maintenance mode with a redirect to the new site, until its logs show no real visitors.

  7. Lower TTL next time

    Before a future move, drop the TTL to a few minutes a day or two ahead.

Where to change the records on common platforms
  1. Update DNS at your DNS host

    WordPress has no DNS settings. Change records at your registrar, DNS provider or new host.

  2. Check Settings > General

    Make sure WordPress Address and Site Address use the correct domain.

  3. Clear caches

    Purge your caching plugin and any CDN so old pages are not served.

  4. Disable forms on the old copy

    On the old server, put the site in maintenance mode or deactivate the form plugin so no more entries are lost there.

Old server: redirect stray visitors to the new sitenginx
server {
    listen 80;
    listen 443 ssl;
    server_name example.com www.example.com;
    # ssl_certificate lines as before
    return 301 https://example.com$request_uri;
}

How to confirm it's fixed

Confirmation checklist
  • dig returns only the new IPs for root and www, from at least three public resolvers
  • No AAAA record points to the old host
  • The marker on the new server appears on every load from different networks
  • Submit a test form and confirm it reaches the new inbox and CRM
  • Old server logs show no real visitor requests for several days
  • The old server's SSL certificate no longer appears for your domain
Before and after cleanup

Split traffic

  • Two A records, one old
  • Some visitors see the old site
  • Leads stored in two databases

Single destination

  • All records point to the new host
  • Old server only redirects
  • All leads reach one inbox and CRM

How to prevent it happening again

Migration routine
  • Lower the DNS TTL a day or two before the move
  • Write down every DNS record before changing anything
  • Freeze content, orders and form changes during the cutover window
  • Test the new server with a hosts file entry before switching DNS
  • Keep the old server in redirect or read-only mode for a few weeks
  • Run a test lead and a test purchase right after the switch and again a day later
  • Remove old DNS zones and cancel the old host only after logs go quiet

How FunnelGuard handles this

FunnelGuard covers this issue only partly. It uses a DNS fingerprint: it looks at how your domain resolves and flags changes or inconsistencies that suggest more than one server may be answering. That can alert you when records differ from what was seen before.

What it does not do: it cannot read the old server's logs, see which database a lead was written to, or find visitors on a stale resolver cache that its own checks never hit. It also cannot prove that a particular customer saw the old site.

To cover the rest by hand, check the old server's access logs, look for form entries and orders on the old database after the move, compare DNS from several resolvers, and run a test submission after each change. FunnelGuard's scheduled journeys (lead forms, checkouts, test leads reaching the inbox and CRM) help confirm the new server works end to end. The Free plan includes 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Why is my website still loading from the old host after migration?

Usually DNS is still cached or a stale record still points to the old server. Resolvers keep answers for the TTL, and an extra A, AAAA or CDN origin entry can keep sending visitors to the old IP. Check every record at your active DNS provider.

How long does DNS take to update after moving hosts?

It depends on the TTL set before the change, often from a few minutes to 48 hours. A low TTL set ahead of time makes it faster. Some networks cache longer than they should, so keep the old server up for a while.

How do I check which server my website is using?

Run dig for the A and AAAA records from several public resolvers and compare the IPs with your new host. You can also add a marker header or HTML comment to the new server and see whether it appears on every load.

Why are my form submissions going to the old server?

Visitors on stale DNS reach the old copy of the site, so its form handler stores or emails the entry there. Redirect or disable the old site and recover the entries from its database or mail.

Can I cancel my old hosting right after migrating?

Not safely. Wait until its access logs show no real visitors and you have backed up any new data. Cancelling early can make the site unreachable for people still resolving to it.

Should I lower the TTL before a hosting migration?

Yes. Lower it to a few minutes a day or two before the move so resolvers refresh quickly. Raise it again once the migration is stable.

Does FunnelGuard detect an old server still serving traffic?

Partly. It uses a DNS fingerprint to spot inconsistent or changed resolution. It does not read old server logs or databases, so check those by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: DNS fingerprint.

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.