core icon indicating copy to clipboard operation
core copied to clipboard

[Feature]: Custom preview domains

Open IsraelOrtuno opened this issue 1 year ago • 1 comments

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). image

IsraelOrtuno avatar Jun 14 '24 14:06 IsraelOrtuno

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 :)

atinux avatar Jun 17 '24 11:06 atinux