How does external DNS work with subdomains

I configured external DNS for my subdomain on site gentle-torte-7343b2.netlify.app. I added my CNAME records and everything worked almost instantly.

Then I tested moving that domain to another site. It just worked. I didn’t have to reconfigure my CNAME record. Why is that?

My CNAME still points to gentle-torte-7343b2.netlify.app but that’s not the Netlify site it’s currently configured in. It works though.

We want to swap our domain over to a new site this week, so I need to find out if doing it this way is safe/intended

Yes, you can point to any-random-valid-dns-string.netlify.app. It’s valid and supported configuration and would not change.

1 Like