core
core copied to clipboard
[Feature]: Custom preview domains
Is your feature request related to a problem? Please describe.
As of now, there's no easy way to set up custom domains for preview deployments except doing it from the CF dashboard, which is also not straight forward and you have to rely on docs. It's basically a CNAME record pointing to [branch].[project].pages.dev and the domain has to be added to the project too:
https://developers.cloudflare.com/pages/how-to/custom-branch-aliases/
Describe the solution you'd like
It would be so great if this could be done through the dashboard. Settings > Domains show all domains bound to the project but you don't know which one resolves what (production / preview).
Thanks for creating the issue @IsraelOrtuno
Indeed we need to find a better way to support linking a domain to a specific branch as well as listing those.
Moving this issue into the backlog :)