Route 53 domain with Cloudflare Pages

Hello all!

I have a route 53 registered domain and can’t for the life of me figure out how to get it to work with a Cloudflare pages site. I’ve set up numerous Route 53 domains with Cloudflare CDN, but pages seems to work differently.

I’ve setup the AWS side exactly as I have for my Cloudflare CDN based sites, with the cloudflare domain names.

Cloudflare prompts me to create an A record, but cloudflare is also hosting the origin server. So what IP values am I supposed to use? Should I be using CNAME? That doesn’t seem to work either.

What is the exact process to do this?

Here’s an example of the DNS prompt. I have the specified domain in AWS. I’ve updated AWS DNS name servers to point to cloudflare’s. What am I missing?

This is what I’ve tried in regards to the CNAME, but I get a 522 response (can’t reach origin server)

Just an update, I recreated my site and everything worked well. I accidentally created a CDN site rather than pages (went back and forth). lol!