Martin Bean
CDCloudflare Developers
•Created by Martin Bean on 8/16/2023 in #general-help
Default DNS records for Cloudflare-hosted domain?
I’ve transferred a domain to Cloudflare. It doesn’t have any DNS records because all I want to do is 301 redirect any web traffic to a different URL. However, it’s not working, and in the DNS section of my Cloudflare dashboard I just get this warning:
Required steps to complete zone set-up Add an A, AAAA, or CNAME record for www so that www.mcbwebdesign.co.uk will resolve. Add an A, AAAA, or CNAME record for your root domain so that mcbwebdesign.co.uk will resolve.What should I use as A/CNAME records for my www and root domains, given I don’t actually want to route traffic anywhere? I just want a HTTP request to come in, and Cloudflare redirect the user to a different URL based on Page Rules? Also, slightly-related side question: what is the difference between Page Rules and Redirect Rules (beta)?
3 replies