Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

1.9 KB
Raw Blame

description: Learn how to deploy your static site to Cloudflare Pages.

▶️ Cloudflare Pages

Cloudflare Pages is a powerful platform for deploying your projects. It’s simple to use, has a generous free tier, and leverages the Cloudflare Network, offering speed, security, and reliability.

While Cloudflare Pages supports static sites and dynamic apps, only the Webstudio static export is currently compatible.

{% hint style="info" %} See export types for more information about JavaScript applications vs. static sites. {% endhint %}

Static

Learn how to upload your static site to Cloudflare Pages.

Cloudflare Pages uses a trailing slash for generated directory index pages. Review the static site URL behavior before deployment.

Cloudflare Pages new project dashboard

Prerequisites

Export your project using one of the export methods.

How to upload your project to Cloudflare Pages:

  • Go to your Cloudflare Account > Workers and Pages
  • Click “Create” then select the “Pages” tab
  • Upload your site manually or add your code to a repository and connect to it
  • Name your project and deploy it

See Cloudflare’s getting started docs for a comprehensive tutorial.

Related

  • Download – Export a static site directly from the Builder
  • CLI – Export and build your project using the command line
  • GitHub Pages – Another platform for static site hosting
  • Netlify – Deploy static sites or JavaScript apps to Netlify
  • Publishing and custom domains – Set up custom domains for your site