Publishing guide · 02 / 06

Publish a static website free with Cloudflare Pages

Put a static HTML website online with Cloudflare Pages Direct Upload. Start with a website ZIP or folder and get a free pages.dev address.

Watch on YouTube 3:39 · Captions available

Follow the steps

  1. Open a working copy of your site. Replace placeholders, check the contact address and remove private draft notes before publishing.
  2. In Cloudflare, open Workers & Pages and follow the Pages Direct Upload flow to name a new project.
  3. Upload the website ZIP or unzipped folder with index.html directly inside it. Keep the asset and page folders beside it.
  4. Deploy and open the assigned pages.dev address over HTTPS. You can share that address within the free Pages limits. A custom domain is optional.
  5. Open the same address on a phone and check the menu, images and contact link.
Cloudflare Direct Upload shows index.html beside the page and asset folders.
Cloudflare Direct Upload shows index.html beside the page and asset folders.
The fictional Larkspur Mending website on its public Pages address.
The fictional Larkspur Mending website on its public Pages address.

Check the result

If the homepage returns 404, check the uploaded ZIP for an extra folder around index.html. Open the fictional Larkspur example to see the finished result.

Read the video transcript

G'day, and welcome to this explainer. Today, we're going to calmly walk through exactly how to publish your purchased WEBIIIIO website completely for free. We're going to be using Cloudflare Pages direct upload, which means absolutely no messy terminal or git is required.

It's super straightforward. To keep things practical, we'll use the fictional Larkspur Mending demo as our guide today. Let's dive right in. So let's start with phase one, the pre-flight check. Here is exactly what you need to look for to ensure a flawless 1st impression before we even touch any hosting settings.

First, open up your website files and replace all those bracketed placeholders with your final confirmed facts. Next, really thoroughly verify your contact details. Honestly, there's nothing worse than launching your site only to realise you have a broken email link and you're missing out on connections, right?

Finally, just scrub any private draft notes or unfinished content you might have left in there. Once your local copy is pristine, you're officially cleared for takeoff. Now, deployment itself is brilliantly simple. You'll sign into your Cloudflare dashboard, and from the side menu, select

Workers & Pages, and then hit create application. Choose Continue to Pages, then Drag and drop your files. You know, this is the real beauty of this method. You can publish your pre-built HTML and CSS files straight from your computer. No Git repositories to mess with and absolutely no command line terminals

required. Name your project and generate your free address. Once you select direct upload, you'll follow the on-screen prompts to give your project a name. Now, take a quick moment here because this step is actually pretty crucial.

Cloudflare assigns a public Pages address. The live Larkspur Mending demo uses the address shown on screen. Use the exact address shown in your own project. For the upload itself, it's an absolute breeze. You literally just drag and drop your website's zip file or your unzipped folder straight into the upload frame.

But hey, double check this one vital detail for me. Your index.html file must sit directly at the root of your folder, with all your asset folders intact right alongside it. If it's buried in a subfolder somewhere, the site just won't load. But once that's sorted and you see the green success message, go ahead and hit

deploy site. And within moments, your site is live. Go ahead and open your newly assigned pages.dev address on a desktop browser to verify the secure HTTPS deployment. And remember, purchasing a custom domain is completely optional here.

You can safely use and share this free address right away. Cloudflare offers free static hosting within its Pages limits. The official guide linked with this lesson lists the current limits. Next up, whatever you do, please do not skip the mobile experience. This is exactly where most of your audience is likely gonna see you.

So grab your phone and open that exact same public address. Tap through your navigation links, verify that all your images resize beautifully, and most importantly, tap your email link to ensure it drafts a new message properly. You always want to do this comprehensive little check before officially sharing the link with the world.

Look, if you get stuck at any point. whether it's figuring out the host or just getting online. Open the written WEBIIIIO guide or email Seizon at the address shown. Explain what you were trying to do and where you got stuck. So, that leaves us with one final question for you today.

Now that you know exactly how straightforward direct deployment can be. What incredible project will you publish to the web next?

Reference links