Knowledgebase / Domains and Security
How to Fix a Website That Stopped Working After Nameserver Changes
Recover a failed nameserver transition by checking delegation, destination records, HTTPS and email separately before considering rollback.
Prerequisites and incident record
Gather the old and new nameserver sets, change time, a saved copy of the old DNS zone and the intended hosting destination. Record the actual symptom: no DNS answer, wrong website, certificate error, redirect loop or failed email.
This is a recovery guide for an already-failed transition. The nameserver-change guide covers advance preparation, while the propagation guide explains cache comparison. Do not keep switching delegation while trying to diagnose several different symptoms.
Step 1: Verify registrar delegation
- Check the domain’s nameserver settings in the registrar account.
- Compare them with the exact set assigned by the intended DNS provider.
- Query public NS answers and note any difference.
- Confirm the new provider has an active zone for the correct domain.
Creating A records named ns1 and ns2 alone does not establish a working authoritative nameserver service. Custom nameserver arrangements can also require registrar host records and an actual DNS server configured to answer for the domain. Confirm that setup with the responsible provider.
Step 2: Compare the destination zone
Check the root-domain and www records against the approved hosting destination. Inspect both A and AAAA so stale IPv6 records do not send some visitors elsewhere. Confirm important subdomains and verification records from the saved zone.
Check MX, mail-host records, SPF, DKIM and DMARC separately. A working website does not mean email survived the move. Copy the intended current values, not every obsolete record from an old export.
Step 3: Investigate DNSSEC errors
If validating resolvers fail while the zone appears present, ask the DNS provider to compare the parent DS record with the active signing setup. An old DS record associated with previous keys can cause validation failure after a provider change.
Coordinate the repair through the registrar and DNS provider’s documented migration procedure. Do not randomly toggle DNSSEC or delete unrelated records. The objective is a consistent chain of trust or an intentionally coordinated transition, not hiding the error on one local resolver.
Step 4: Check hosting and HTTPS
Once DNS reaches the intended server, verify that the hosting account recognizes the domain and serves the correct document root. A default server page can indicate missing virtual-host configuration even when the DNS address is correct.
Verify certificate coverage for the requested names and the CDN-to-origin configuration where applicable. A certificate warning and a redirect loop need their own repairs. Do not change to insecure settings simply to make an error disappear.
Rollback and expected results
If the new zone cannot be repaired promptly, consider returning to the recorded previous delegation only after confirming that the old DNS service and hosting still work. Caches can continue using both old and new information during rollback, so keep both sides consistent where possible.
Verify the homepage, login, key subdomains and two-way email from more than one network. Record authoritative and recursive answers. Success means visitors reach the intended site over trusted HTTPS and dependent services work, not merely that the registrar accepted a nameserver update.
For unresolved problems, provide support with the domain, transition time, old and new provider names, exact error and redacted lookup results. Preserve the zone export for comparison.
Frequently asked questions
Will changing nameservers move website files?
No. DNS delegation does not copy files, databases or mailboxes.
Should I keep switching back and forth?
No. Establish the failing layer and confirm both zones before a planned repair or rollback.
Why does the website work but email fail?
The new zone may be missing mail-routing or authentication records; test those separately.
Related guides and hosting options
Compare server management against your application requirements. Confirm available tools and management responsibilities for your own account. For account-specific help, open a private support ticket with the domain, time and relevant redacted error.