Www DNS record for cloudflare pages app

Hello,

I recently started to use CloudFlare Pages to deploy a Nuxt app and everything is fine except for the fact that I cannot access my domain using www.MYDOMAIN.com.

It is working fine when I just use https://MYDOMAIN.com. However I cannot make it work with the www prefix.

I am getting: “Error 523 ## Origin is unreachable”

Note: I am using Cloudflare as the DNS server and I have the www CNAME record pointing to the @

Could someone give me some light in this matter?

Really appreciate.
Thanks.

I’ll give this a shot! Based on your description it sounds like you might be missing a custom domain for www.example.com inside the Pages project. In the Cloudflare dashboard, head over to Pages, select your project, and open the Custom domains tab. If I’m on the right track, you only have example.com there today.

1 Like

Hey @svanlund Thanks for your help!

I thought I could only use one domain in the custom domains tab. My bad.

Your solution worked out perfectly, now I have both www.example.com and example.com.

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.