Cyber security for UK businesses
support@cyberxperts.ai | +44 7490 302661

WEBSITE RECOVERY

DNS Hijacking Recovery: Restore Your Website and Domain Control

DNS hijacking recovery begins with trusted control of the domain and DNS accounts, not with reinstalling the website. Preserve ownership and change records, work with the registrar or DNS provider, restore verified settings and test both web and email services before closing the incident.

DNS Hijacking Recovery: Restore Your Website and Domain Control — illustrative website and server security artwork

Distinguish DNS changes from a website-level redirect

A visitor sent to an unexpected page may be experiencing a changed DNS record, a registrar-level change, a CDN rule or a redirect within the website itself. Establish which layer is responsible before editing several services at once. Collect the affected hostname, time, observed destination and examples from more than one trusted network where practical.

Compare the current authoritative DNS and registrar settings with your last approved configuration. Ask the hosting and DNS providers to help confirm the intended destination. Local browser caches, resolver caches and application redirects can complicate observations, so keep the tests and their results in the incident record instead of treating one browser result as definitive proof.

Observed changeAccount or service to investigate
Authoritative nameservers changedRegistrar account and domain change history
A, AAAA or CNAME destination changedAuthoritative DNS account and API access
DNS correct but HTTP redirects persistCDN, proxy and website configuration
Mail unexpectedly reroutedMX records, mail routing and mailbox access

Do not assume that a clean malware scan settles a DNS incident. The website files may never have changed. Equally, restoring a DNS value does not repair malicious application code if the incident also reached the hosting account.

Regain trusted control and preserve ownership evidence

Use a clean device and contact the genuine registrar through its published support route. Secure the email account used for account recovery, particularly if it may have been compromised. Preserve account notifications, invoices, earlier registration details and change confirmations. ICANN's domain-recovery guidance emphasises the value of documentation that supports the rightful holder's claim.

  1. Record the current domain status, registrar, nameservers and available change history before requesting reversals.
  2. Ask the registrar or DNS provider to preserve authentication and configuration-change logs and to explain its compromised-account recovery process.
  3. Recover account access through the provider’s identity checks. Review recovery contacts, authorised users, multi-factor authentication and API tokens.
  4. If the domain was transferred without permission, raise that specific issue with the registrar rather than treating it as an ordinary DNS record edit. Keep support references and ownership evidence together.

ICANN explains that unauthorised transfers can involve domain hijacking or stolen account credentials. The appropriate provider process depends on what changed and which registry or registrar rules apply; a general tutorial cannot promise a transfer reversal or a fixed recovery time.

Restore records from approved values, not memory

Build a reviewed restoration list with the service owners. Include the main hostname, www, required subdomains, mail records and any provider verification records. Confirm values with the current hosting and mail providers rather than copying an old screenshot that may describe a retired server. Keep an audit trail of the previous and replacement values.

Review registrar forwarding, DNS-provider redirect features, CDN rules and certificate settings separately. An attacker may have changed more than the obvious address record. Remove unexplained access and replace exposed tokens so the repaired configuration is not immediately editable through the same stolen credentials.

  • Restore only records whose purpose and target have been confirmed.
  • Check nameserver delegation as well as records within the zone.
  • Coordinate DNSSEC changes with the registrar and DNS operator if they are involved; mismatched settings can interrupt resolution.
  • Retain a rollback plan based on verified authorised values, not on the compromised configuration.

Some observations may remain inconsistent while previously cached answers expire. Record the relevant TTL values and verify the authoritative configuration as well as user-facing resolution. Do not respond to every inconsistent cached answer by repeatedly changing the zone again.

Assess what visitors and staff may have encountered

A redirected website can expose people to a fake login, payment page or altered support instructions even if the original application database remains untouched. Establish the likely redirection period and which hostnames were affected. Involve the privacy and payment owners if customers may have submitted information to an unauthorised destination.

Review email dependencies as well. If mail routing or an account used for password resets was affected, other business services may need access recovery. Consider which systems rely on the domain's email addresses for ownership confirmation. Prioritise high-impact accounts rather than changing unrelated settings without an inventory.

Verify control and prevent repeat changes

Imagine a hypothetical retailer whose website is redirected by a changed DNS API token. Restoring the correct address repairs the immediate symptom, but the attacker can change it again until the token is revoked. Recovery therefore needs both a verified destination and a trustworthy administration path.

Test web resolution, the certificate and expected HTTP behaviour for all affected names. Send agreed synthetic mail tests where routing changed. Review the registrar account, DNS account, authorised users and notification recipients once more before closure. Confirm that the business will receive future change alerts through an account it controls.

  • Assign an owner for domain renewal and emergency recovery records.
  • Use distinct administrative credentials and available multi-factor authentication.
  • Restrict API access to the required scope where the provider supports it.
  • Store approved DNS exports and ownership documents in controlled business storage.
  • Escalate unexpected transfers, repeated changes or uncertain ownership to the relevant provider promptly.

CyberXperts can help distinguish website redirects from domain-control incidents and organise a recovery checklist. The registrar and DNS provider remain central where account or registration changes must be authenticated and reversed.

Frequently asked questions

Will reinstalling WordPress fix DNS hijacking?

No, if the problem is an unauthorised DNS or registrar change. Recover control of the relevant account and restore verified records. Also investigate the application if there is evidence that hosting access was compromised separately.

Why do some users still see the wrong website after DNS is corrected?

Resolvers and clients may retain earlier answers until their cache entries expire. Check authoritative records, relevant TTL values and the full HTTP path rather than repeatedly changing the zone in response to one cached result.

What evidence helps recover a hijacked domain?

Keep registration records, account invoices, earlier change notices, business ownership information and provider support references. The registrar determines which evidence it needs to authenticate the rightful holder and process the specific recovery request.

Does every DNS incident mean the domain was transferred?

No. An attacker can alter records within an existing DNS account without transferring the registration. Establish whether nameservers, zone records, forwarding rules or the registrar relationship actually changed.

Should I change my mail settings as well?

Review them if the incident affected mail routing, recovery email access or shared administration. Make changes using confirmed provider values and test delivery; unnecessary edits can interrupt mail without improving domain control.

Sources and further reading

Official documentation and advisories supporting the technical points above. The recovery workflows and examples are editorial guidance for adapting to your own systems.

  1. ICANN: Documentation is Key to Recovering Hijacked Domain Names — accessed 22 October 2026
  2. ICANN: About Lost Domain Names — accessed 22 October 2026

Get practical support for your next step.

Tell CyberXperts what happened, which systems are affected and what you have already checked. Do not include passwords or sensitive incident evidence in the initial form.

Discuss your website security

Enquiry update