Choosing a Host for a Static Website

By Cory LaViska on November 20, 2026

Surreal CMS doesn't care where your website lives. It connects to your hosting, edits your pages, and publishes them back. That leaves you with a choice, so here's how I'd think about it.

A static website doesn't need much. It needs a host that serves files over HTTPS, lets Surreal CMS write those files, and shows index.html as your homepage. There's no database or PHP to configure.


Your existing web host

If you already pay for hosting, use it. Most web hosts offer SFTP, and many still offer FTP. Traditional hosts serve index.html at / and show your 404 page without any extra setup, and they'll run PHP if you ever need it.

Use SFTP if you can. It's encrypted, it only needs one port, and it transfers multiple files at once. FTP transfers one at a time, which gets slow when a static include has to update a lot of pages. If your host offers FTP with TLS/SSL, use that instead of plain FTP.

If your host doesn't offer FTP or SFTP, use WebDAV. cPanel calls it Web Disk. WebDAV servers don't all behave the same way, so it can take more trial and error to set up.


Cloudflare R2

If you're starting from scratch, this is where I'd put a new static site. R2 stores your files in a bucket and serves them on your own domain. At the time of this writing, R2 doesn't charge for bandwidth, and the free tier covers 10 GB of storage, 1 million writes, and 10 million reads a month (see R2 pricing). Each file Surreal CMS publishes is one write, and most page views cost one read. That's room for roughly 300,000 page views a day, so a typical brochure website never leaves the free tier.

Your domain has to use Cloudflare for DNS, and you'll need to add one rule so your homepage loads at /. A custom 404 page needs a paid Cloudflare plan. Cloudflare caches images, CSS, and JavaScript near your visitors, but HTML comes from your bucket's region, so pick one close to most of your audience. Our R2 guide walks through the whole setup, and this tutorial covers uploading a site you built with an agent.


Amazon S3 and CloudFront

S3 and CloudFront give you the most control, but they take the most steps. You'll set up a private bucket, an IAM user, a CloudFront distribution with caching turned off, and a small function that serves index.html at /. At the time of this writing, CloudFront's pay-as-you-go plan includes 1 TB of data transfer and 10 million requests a month for free (see CloudFront pricing). S3 storage is billed separately.

It's a good choice if you're already on AWS. If you're not, R2 gets you to the same place with less work. Our S3 and CloudFront guide walks through every step, and this tutorial covers uploading a site you built with an agent.


DigitalOcean Spaces

At the time of this writing, Spaces costs $5 a month for 250 GiB of storage and 1 TiB of transfer (see Spaces pricing). Spaces doesn't serve index.html at / on a custom domain, so you'll need a small Cloudflare Worker in front of it. Our Spaces guide includes the code.

If you already use DigitalOcean, it works well. If you don't, R2 is simpler. This tutorial covers uploading a site you built with an agent.


Which one to use

Each option has a step-by-step guide in the docs. If you're still not sure, contact us and tell us what you're working with.

So simple, it’s Surreal

Free for personal, educational, and non-profit websites.

By signing up, you agree to the terms of service.