Newbie struggling with adding custom domain to pages

I have this https://patrickwayfarer.pages.dev/ setup and i wanted to use my custom domain patrickwayfarer.com I went afterwards in the dash board to websites added my custom domain, then I was asked to add the nameservers where I registered the domain. did that. afterwards I added the custom domain to my pages, now it says that it is active but I can neither reach the naked domain nor the www. one here is a screenshot of my dns records Not sure where I went wrong.
No description
14 Replies
Chaika
Chaika5mo ago
there's no point in blurring dns-only records btw, anyone can look them up
Chaika
Chaika5mo ago
for me your apex works
No description
Chaika
Chaika5mo ago
your www doesn't though, it's not added as a Custom Domain in your Pages Project settings. You can either add it there, or do a redirect instead
Patrick
PatrickOP5mo ago
that is odd, because I get a DNS_PROBE_FINISHED_NXDOMAIN
No description
Chaika
Chaika5mo ago
just dns cache
Patrick
PatrickOP5mo ago
how do i do that?
Chaika
Chaika5mo ago
do what? clear dns cache?
Patrick
PatrickOP5mo ago
yea
Chaika
Chaika5mo ago
there's different levels, you have your browser's (usually in memory), your system's (depends on os how to clear), and your resolver's. If you're using your default resolver it's probably ISP operated and some cache longer then they should in order to lower queries you can either wait it out (shouldn't be more then an hour) or switch your resolver to google or cloudflare (8.8.8.8/1.1.1.1) and clear dns cache on your system (depends on os) you can fix your www in the mean time. It should either be another Custom Domain in your Pages Project or just redirect to your apex https://community.cloudflare.com/t/redirect-www-example-com-to-example-com-using-single-dynamic-redirects/636764, redirects are better for SEO/no duplicate content but up to you
Patrick
PatrickOP5mo ago
do i need to remove the cname www record for that?
Chaika
Chaika5mo ago
if you want to do the redirect yup
Patrick
PatrickOP5mo ago
ok i did that does the www domain work now for you? also i changed my settings to 1.1.1.1 and 1.0.0.1, it is still not working so i might have to wait a few hours before i see it working
Chaika
Chaika5mo ago
yup
< HTTP/2 301 < date: Tue, 16 Jul 2024 17:44:56 GMT < content-type: text/html < content-length: 167 < location: https://patrickwayfarer.com/
did you clear system dns cache (depends on os)?
Patrick
PatrickOP5mo ago
yea, it works now i think it was a location based problem looks like u.s. had access earlier thanks for the help
Want results from more Discord servers?
Add your server