Subdomain Takeover
Table of Contents
Option 1: Remove Dangling CNAME
- If the subdomain is no longer in use, then from your DNS zone, remove the subdomain’s DNS record.
- Review application code and configuration for references to subdomains no longer in use and remove those references.
Option 2: Update the CNAME
- If the subdomain is still in use, update the subdomain’s DNS record so that its CNAME(s) point to valid resources.