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
AAAA [name].com 100:: Proxied Auto
AAAA www 100:: Proxied Auto
And the following redirect rule:
[name].pages.dev/ https://[name].com
[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".
6 Replies
laralove
laralove•16mo ago
did you set up custom domains like so?
laralove
laralove•16mo ago
its under pages settings
Elodere
ElodereOP•16mo ago
Oh my god Wait hold on hold on hold on So I not only have to buy the domain under the "Manage Domains" tab, but also link it together with the app? Okay, I wasn't aware of this
Cyb3r-Jak3
Cyb3r-Jak3•16mo ago
Custom domains · Cloudflare Pages docs
When deploying your Pages project, you may wish to point custom domains (or subdomains) to your site.
Elodere
ElodereOP•16mo ago
Thank you all so much @laralove @Cyb3r-Jok3 ! 🙂
laralove
laralove•16mo ago
ofc iirc the custom domains tab under pages does the cname stuff for you
Want results from more Discord servers?
Add your server