I am confused over getting my [name].pages.dev to redirect to [name].com.

Hi. As per the title, I have bought a custom domain of [name].com. I got the github integration to work smoothly. Now the problem is getting the site to actually visit the custom domain instead of [name].pages.dev. I followed the documentation here: https://developers.cloudflare.com/pages/how-to/www-redirect/.

I added the following DNS records:
AAAA  [name].com  100::  Proxied  Auto
AAAA  www         100::  Proxied  Auto

And the following redirect rule:
[name].pages.dev/    https://[name].com


However, it does not seem to be working as you can see in the last image. Is this because it's still updating? Mind you, this isn't a custom domain I recently bought. I have already bought this a couple of weeks ago, and it was working fine when I went to [name].pages.dev.

Right now all I want is to have someone tell me "follow these steps and it will work guaranteed".
image.png
image.png
image.png
Was this page helpful?