Delete a Subdomain

Hi, This is not my area of expertise so hoping for some reassurance. We need to completely remove a subdomain record as if it never existed. Do I simply delete the CNAME record for the subdomain?

Yes, if you want to completely remove a subdomain, simply deleting the CNAME record for that subdomain in your DNS settings will suffice. Here are the steps:

  1. Navigate to the Cloudflare Dashboard (dash.cloudflare.com)
  2. Click the domain for which you want to delete the subdomain.
  3. Go to the DNS app.
  4. Locate the CNAME record for your subdomain, and click the ‘Delete’ button next to it.
  5. Confirm that you want to delete the record.

After you’ve deleted it, the subdomain will no longer resolve, effectively removing it.

2 Likes

Thanks! I was hoping it was that simple.

1 Like

Assuming you don’t have a wildcard record in which case it will still resolve as the wildcard record covers the FQDN and will resolve to the origin of the wildcard record.

2 Likes

Nope, no wildcard. Thanks for the tip!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.