For Workers & Pages, what is the name of the domain?
example.com and www.example.com
What is the error number?
404
What is the error message?
Not Found
What is the issue or error you’re encountering
Custom domains not working
What are the steps to reproduce the issue?
Hi,
I have added custom domains example.com and www.example.com (Replaced actual domains with example), but I can’t access the site.
I’m only able to access with cloudflare’s default example.pages.dev URL.
In the screenshot I also showed how my DNS records look like that have been automatically created when I added 2 custom domains within from cloudflare project’s Custom Domains tab.
Is there anything else should be done from my end to get this working?
Thanks in advance!
404 error in your case might be temporary until the CNAME type of the DNS record for your Pages project propagates and Universal SSL certificate get issued for it since you’ve lately connected your custom domain, and possibly due to the local device or DNS cache at your device or even ISP provider.
Yes, wildcard record works for all subdomains.
I agree that it’s better to specify specific domain(s) instead of wildcard, but in my case, I’d prefer to do so for actual domains and leave wildcard for cloudflare’s URLs.