Now what I want to do is redirect all domain and subdomain queries of touhidur.cf to touhidur.tk. what I mean by that is every time you input touhidur.cf/* or subdomain.touhidur.cf/* you will be redirected to touhidur.tk/*. Now since Cloudflare has something called page rules I wanted to use it to achieve my desired output. Here are the DNS records and page rules that I set up. Note that I set up rule 1 & rule 2 because rule 3 didn’t work.
Now my theory behind this was simple. If Cloudflare DNS have the authorotity (or DNS records) over my domains and subdomains than it should be possible to redirect every domain and subdomain queries to another domain with Page Rules. Cause such queries are to be proxied through Cloudflare servers!
Now even though my subdomains.touhidur.cf queries are bring redirected to touhidur.tk somehow, for some reason touhidur.cf and www.touhidur.cf are not working. And I actually don’t have much idea how CNAME records work. I just inputted two cname records so that Cloudflare knows that those domains exist and try to automatically proxy them and I can use the Page Rules.
It would be great if someone told me how
CNAME *.touhidur.cf > touhidur.tk is working and what should I do to achieve the result I wanted.