Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Preview deployment domain - Cloudflare Developers
CD
Cloudflare Developers
•
5mo ago
Hugo
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
staging
pointing to the
branch-feat.pages.dev
branch-feat.pages.dev
Pages preview URL so I can test all my rules
& caching using a
staging.example.com
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
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Issue with PR Preview deployment for MkDocs Site
CD
Cloudflare Developers / workers-and-pages-help
5mo ago
Workers in the preview deployment are encountering unexpected failures.
CD
Cloudflare Developers / workers-and-pages-help
9mo ago
Best approach to deploy to deploy to prod and preview domain
CD
Cloudflare Developers / workers-and-pages-help
3mo ago