Cloudflare Website Integration
Deliver a website through reliable DNS, deployment and edge infrastructure with a clear ownership model.

Where Cloudflare fits
Deliver a website through reliable DNS, deployment and edge infrastructure with a clear ownership model.
Connect it to your website
For Astro, deploy the static output with Workers static assets where suitable, and add server routes only for dynamic tasks. For SaaS website builders, follow the vendor’s DNS guidance and verify which records can be proxied.
A practical implementation
Plan preview and production as separate destinations. Before cutting over a domain, verify the generated routes, redirects, canonical URLs and form handling, then agree a rollback path and who owns deployments.
What to check before launch
Do not cache personalized responses or form submissions as public content. Preserve non-web DNS records used for email, and treat edge settings as part of the site’s operational configuration.
Decide what Cloudflare should own
Cloudflare can act as the DNS provider for a website hosted elsewhere, or provide hosting and application execution through Workers. For a content-first Astro site, static assets can be delivered separately from dynamic functions such as contact forms. For Webflow or another hosted builder, follow the platform's DNS and proxy instructions rather than assuming you should move the application to Cloudflare.
Plan a release and caching strategy
Keep preview deployments separate from the public domain and pin releases to known Git commits. Check HTTP redirects, HTTPS, canonical hostnames and cache behavior on representative pages. For CMS-driven static builds, define the trigger that refreshes content after publication. Cache public assets where appropriate, but keep form responses and private data outside shared caches. Maintain a rollback path for both deployment and DNS configuration.
Frequently asked questions
Does moving DNS also move the website?
No. DNS points visitors to the website. Hosting, builds, certificates, redirects and email records may have separate requirements.
Cloudflare official documentation
Can a DNS-only rollout be reversed?
Keep the previous deployment and record values available. Test recovery and allow for DNS caching when planning the rollback.
Does Cloudflare automatically make every website faster?
No. The effect depends on the origin, asset sizes, cache configuration and client-side code. Measure the real website before and after a targeted change.
Related guides
Igorev’s Webflow to Astro migration
