Subdomain pointing to pages giving error code 522

I have a static webpage that I setup with cloudflare pages, I’m trying to get my subdomain to show the page. I have a cname that points the subdomain to the page, when you go to the page, it loads perfectly fine, but when you go to the subdomain you get error code 522. Can anyone help?

1 Like

I’m supposing you mean when you go to the page using the default [your].pages.dev subdomain it works, but using your custom subdomain doesn’t work.

Other than creating the CNAME, have you actually configured the Pages project itself to use your custom subdomain? Please see the documentation linked below:

1 Like

I forgot to do this, it worked. Thank you so much.

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