# Cloudflare Pages

[Cloudflare Pages](https://pages.cloudflare.com/) 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](/university/self-hosting.md#export-types) for more information about JavaScript applications vs. static sites.
{% endhint %}

## Static

Learn how to upload your static site to Cloudflare Pages.

<figure><img src="/files/pIACY4Z9d9O6dyLZ5bRF" alt="Cloudflare Pages new project dashboard"><figcaption></figcaption></figure>

### Prerequisites

Export your project using one of the [export methods](/university/self-hosting.md#exporting).

**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](https://developers.cloudflare.com/pages/get-started/) for a comprehensive tutorial.

## Related

* [Download](/university/self-hosting/download.md) – Export a static site directly from the Builder
* [CLI](/university/self-hosting/cli.md) – Export and build your project using the command line
* [GitHub Pages](/university/self-hosting/github-pages.md) – Another platform for static site hosting
* [Netlify](/university/self-hosting/netlify.md) – Deploy static sites or JavaScript apps to Netlify
* [Publishing and custom domains](/university/foundations/publishing-and-custom-domains.md) – Set up custom domains for your site


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.webstudio.is/university/self-hosting/cloudflare-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
