Preview deployment domain

Hey folks, Context: I'm migrating my project from Pages to Workers (SvelteKit site). Issue: With Pages, I used to have a CNAME record with name staging pointing to the branch-feat.pages.dev Pages preview URL so I can test all my rules & caching using a staging.example.com preview. But doing that pointing towards a workers.dev seems to not working (522). Basically I want to do that: https://developers.cloudflare.com/pages/how-to/custom-branch-aliases/ for my freshly migrated Pages project in a Workers one Any simple solution ?
Cloudflare Docs
Add a custom domain to a branch
In this guide, you will learn how to add a custom domain (staging.example.com) that will point to a specific branch (staging) on your Pages project.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?