Getting 404 after redirecting a domain to website

Hello everyone

I had a website and domain working all fine on Netlify. But decided to change my domain and redirect the old domain to new one.
So what I did is, made a new website on Netlify and attached the new domain to it which is working fine. Then removed the old website with old domain from Netlify and moved it to Cloudflare to redirect it to new website on Netlify from there.
I created CNAMEs like this:

Type    Name                  Content
CNAME   naadiyaar.com         nadiyar.netlify.app
CNAME   www                   nadiyar.netlify.app

With proxy/CDN off.


As far as I know this should work properly, but when I’m trying to reach the old domain which redirected (naadiyaar.com) I get a 404 from Netlify.

Also tried redirecting old domain to new one (https://nadiyar.com) but result is same.
its worth mentioning CNAME flattening is done by Cloudflare automatically.

Old domain: naadiyaar.com
New domain: nadiyar.com
Netlify app: nadiyar.netlify.app

Apparently this is not a DNS zone issue:

dig naadiyaar.com NS +trace | tail -n 6
;; UDP setup with 2a06:98c1:50::ac40:20a2#53(2a06:98c1:50::ac40:20a2) for naadiyaar.com failed: network unreachable.
;; UDP setup with 2a06:98c1:50::ac40:21e0#53(2a06:98c1:50::ac40:21e0) for naadiyaar.com failed: network unreachable.
naadiyaar.com.          86400   IN      NS      hera.ns.cloudflare.com.
naadiyaar.com.          86400   IN      NS      rajeev.ns.cloudflare.com.
;; Received 96 bytes from 173.245.59.224#53(rajeev.ns.cloudflare.com) in 271 ms

@Naadiyaar Perhaps you’re looking for Domain aliases?

That’s right, CNAMEs were fine and adding a domain allies is what I was missing.
Thank you