#Cloudflare Pages Preview under custom subdomain

3 messages · Page 1 of 1 (latest)

wispy surge
#

Hi all, I have a cloudflare pages project with preview builds on staging.project-name.pages.dev and i have added a CNAME to my domain that redirects staging to the pages preview build but I seem to keep running into a 522 error, could anyone help?

#

fixed it with a worker for now

#

but if there's a less hacky way to do it please let me know