Fabbbbbbyy
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
Sorry if my question wasn't clear but it seems like Pages only separates between
production
and preview
.
1. Separate domain for each environment (this can be done)
staging.site.com
load.site.com
production.site.com
2. Env vars
What if I want to set different env vars for each preview environment? Seems like preview will be shared across staging
and load
11 replies
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
Was your domain live? Seems like there will be downtime since it takes some time to register a custom domain.
My current setup (Cloudflare DNS + Amplify):
Cloudflare DNS
- site.com -> amplify url
11 replies
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
Oh I see! To confirm:
1. Create custom domain
2. Overwrite the DNS that is setup with
${branch}.your-project.pages.dev
because it will point to your-project.pages.dev
first?11 replies