What is Cloudflare?

Cloudflare is a company that runs a global network in front of websites. Visitors connect to Cloudflare first, and it caches pages, blocks attacks and handles HTTPS before traffic reaches your server. On xCloud you can connect your own Cloudflare account for free, or add Cloudflare Enterprise to a domain for $5 per domain a month.

How does Cloudflare work?

Cloudflare answers DNS for your domain and, for records you set to Proxied, sends visitors to its own servers instead of yours. Those servers sit in cities around the world, so most visitors reach one nearby.

Each request passes through Cloudflare's checks first. It can serve a cached copy of the page, drop a request that looks like an attack, or pass the request on to your server, which Cloudflare calls the origin.

  • CDN: copies of your files and pages are kept close to visitors. See CDN.
  • Security: a web application firewall and DDoS protection filter traffic at the edge.
  • DNS: Cloudflare can host your DNS records and hide your server's IP address. See DNS proxy.
  • HTTPS: Cloudflare handles the certificate visitors see. See SSL/TLS modes.

Why does Cloudflare matter for your website?

Your host secures the server. Cloudflare filters traffic before it arrives. The two layers do different jobs, and a site needs both.

A busy shop, a site under a bot attack or a page that suddenly gets shared widely all benefit when most requests never reach the server. Pages load faster for distant visitors, and the server keeps its CPU for the requests that matter.

How does Cloudflare work on xCloud?

There are two ways to use Cloudflare with a site on xCloud.

  • Your own Cloudflare account (free on every plan): add an API Token under Settings → Integrations → Cloudflare. xCloud can then create DNS records, issue a Cloudflare origin certificate, turn on the edge page cache, and switch on Cloudflare WAF rules and Under Attack mode. See the integration guide.
  • Cloudflare Enterprise add-on: $5 per domain per month. One subscription covers your domain and its www version. Each other subdomain, such as shop.example.com, is its own $5 subscription. Each subscription includes 100 GB of bandwidth a month, then $0.02/GB, prorated (add bandwidth). No Cloudflare account and no nameserver change. You keep your DNS provider and add the records xCloud shows. You get Enterprise edge caching, WAF, DDoS protection, image optimisation and traffic analytics. There is no free trial. See Cloudflare Enterprise on xCloud and how to activate it.

Host your sites on xCloud

Managed servers on your own cloud account, with Cloudflare and security tools in one dashboard.

Frequently asked questions

Is Cloudflare a web host?

No. Cloudflare sits in front of your website, but your site's files, database and code still run on a server. On xCloud that server is on your own cloud account or a managed xCloud server.

Do I need a Cloudflare account to use Cloudflare Enterprise on xCloud?

No. The Cloudflare Enterprise add-on runs without a Cloudflare account and without a nameserver change. You add the DNS records xCloud shows at your current DNS provider.

Does connecting my Cloudflare account to xCloud cost extra?

No. The Cloudflare integration, the edge page cache and the Cloudflare WAF rules are free on every xCloud plan. Cloudflare's own plans are billed by Cloudflare.