akowalsk
CDCloudflare Developers
•Created by akowalsk on 9/25/2023 in #pages-help
Proxied CNAME to pages deployment returns host error 522
I am using the environments feature of Pages to setup a dev/staging/prod workflow based on repo branches. The production branch works just fine. However, when I create a cname in my main domain (iom.ai) and point it to the branch specific or deployment specific URLs, I get a "Connection timed out" 522 error (Cloudflare Ray ID: 80c46d9b483d2279).
Doesn't work - CNAME: dev.iom.ai => dev.marketplace-front-end.pages.dev
Doesn't work - CNAME: dev.iom.ai => c0a2ff51.marketplace-front-end.pages.dev
Does work - CNAME: www.iom.ai => marketplace-front-end.pages.dev
cname: https://dev.iom.ai
Branch deployment URL: https://dev.marketplace-front-end.pages.dev
Deployment URL: https://c0a2ff51.marketplace-front-end.pages.dev/
Account: affd14ea816450326dafedc46b68f0fb
3 replies