Serve specific branch / commit to custom domain

It's possible to set the CNAME record to a specific pages branch / commit for domains that are hosted on CF. However this doesn't seem to be possible for domains (specifically subdomains) not hosted on CF. For instance, we have a customer hosting our app at a subdomain which is CNAME'd to a glue record that we control. As you might expect, CF doesn't have any info about how to serve that specific Host header outside of the custom domain addition to the Pages control panel.
1 Reply
Erisa
Erisa2y ago
For domains not hosted on CF, it currently isn't possible and there isn't a lot you can do The available workarounds would involve Partial (CNAME setup) zones or Subdomain Zones, which require Business or Enterprise plans respectively If the domain is on Cloudflare DNS (or CNAME setup) then the CNAME target will be read to know which branch to serve, for external domains it doesn't get that information
Want results from more Discord servers?
Add your server