Topics


Pages


Content

How to set up a website at the pages.cloudflare.com homepage. Which is similar to a Netlify or GH Pages site.

See also my CloudFare Pages resources.

Follow the Getting Started docs page for more detail than here.

Steps

Create account

Sign up for a free CloudFare account on cloudflare.com

Configure site

Go to your CloudFare dashboard. Or click Sign Up from the [CloudFare Pages][] page.

Set up your site to deploy and host:

  1. Choose your repo.
  2. Enter your build config options. Use a preset or enter your own values.
    • e.g. from the Create React App Framework preset:
      • build command: npm run build
      • build output directory: build
  3. Click continue and wait for your site to build.
  4. Find the deploy URL and visit your site.

I set up my react-quickstart repo and got a generated URL like this:

  • https://89019813.react-quickstart.pages.dev/

Set custom URL

Follow the Getting Started page for want to add a custom URL, to serve your site under that a domain that you own.