In-depth lesson · Subdomain takeover
Typical fixes
Every point the Subdomain takeover reports back under this heading, best-backed first, each with the reports it is seen in.
-
Remove DNS records when the service or resource they point at is decommissioned, deleted or deprovisioned.
Seen in 26 reports
-
Require proof of DNS ownership before a third-party service attaches a custom domain.
Seen in 5 reports
-
Remove or update links to expired domains in documentation and handbooks.
Seen in 3 reports
-
Scope session cookies to the specific host rather than the parent domain.
-
Validate the domain parameter server-side against domains the account actually owns.
Seen in 2 reports
-
Share the domain-claimed check between all features that allow custom domain claims.
Seen in 1 report
-
Verify domain ownership before serving content for custom domains and remove the grace period for unverified domains.
Seen in 1 report
-
Check that the zone is active and verified as belonging to the same account before adding a custom hostname.
Seen in 1 report
-
Keep domain ownership verification active while the DNS record still points at the hosting service.
Seen in 1 report
-
Update footer links when a social username is released.
Seen in 1 report
-
Remove DNS entries and links when a Pages project is deleted or renamed.