Problem connecting domain to Cloudflare Pages after DNS change

What is the name of the domain?

radoslaw-kaczka.pl

What is the error number?

404

What is the error message?

HTTP ERROR 404

What is the issue you’re encountering

I’m having trouble setting up my website

What steps have you taken to resolve the issue?

  1. I changed the DNS of my domain to home.pl to use Cloudflare (I set up external DNS servers with Cloudflare).
  2. In Cloudflare, I added the radoslaw-kaczka.pl domain and redirected it to Cloudflare Pages (specifically to the portfolio-radoslaw.pages.dev subdomain).
  3. I have set up a CNAME record in Cloudflare that points to portfolio-radoslaw.pages.dev.
  4. I added a test temp.html file and wanted to check if it would be displayed after entering radoslaw-kaczka.pl
  5. After reading several guides, I turned on dnssec after configuration.

I got lost somewhere in all this. He did all this a day ago, so maybe everything is fine, but something hasn’t registered yet? There may also be a problem with setting A and CNAME records. The A record requires the server’s IP address, but I do not have such an address anywhere on my purchased domain website.

What are the steps to reproduce the issue?

written above

Screenshot of the error

When using Cloudflare, do not create DNS records for Pages yourself. Instead, delete the CNAME you have created and add the hostname as a custom domain as here. The records are created for you.

Sorry, CNAME was created automatically after using custom domains feature. I also did it as it is here.