CNAME conflicts with TXT record name

My CNAME conflicts with an existing TXT name, but I think I need both. I'm using Cloudflare Pages and I have a custom domain. I thought I could use a CNAME record to redirect my root to my Cloudflare pages.dev address. But I have a TXT record with spv=1 information that also need to use the root name. Can't have both, but I need the TXT record information so I can send mail from another server. I'm trying to write a redirect rule to point to my pages.dev address, but it's not working so far. Am I heading down the wrong road? Is there a better way to work around using a CNAME record to redirect to my Cloudflare page.dev address?
1 Reply
cole
cole2d ago
Who is your domain provider? CNAME on the root is a big no-no because it blocks all other domain records from functioning. Cloudflare and a few others (Namecheap) have workarounds where you can "functionally" set a CNAME at the root. (But it's really just A records) Usually the answer is to use an A record in its place if you are using a different domain registrar. Can you confirm which registrar you are using?

Did you find this page helpful?