What is a WAF (web application firewall)?

A WAF (web application firewall) checks each web request and blocks the ones that look like attacks, such as attempts to read config files or break into a login. On xCloud, the built-in server firewall and Cloudflare WAF rules are free on every plan; Cloudflare Enterprise adds an edge WAF for $5 per domain per month.

How does a WAF work?

A network firewall decides which ports and IP addresses may connect. A WAF looks inside the web request itself: the URL, the headers and the form data. It compares them with rules that describe known attack patterns and blocks, challenges or logs the request that matches.

A WAF can run on your server, in front of it at a CDN's edge, or both. An edge WAF stops bad requests before they use any of your server's resources.

Why does a WAF matter for your website?

Most attacks on sites are automated. Bots probe for exposed files, old plugins and weak logins all day. A WAF filters much of that noise, so updates and strong passwords are not your only defence.

A WAF does not fix a vulnerable plugin. It lowers the chance that an attack reaches it. Keep software updated and use virtual patching for known vulnerabilities you cannot update yet.

How does a WAF work on xCloud?

xCloud gives you WAF layers at the server and at the edge.

  • Built-in firewall on the server: firewall rules for Nginx and OpenLiteSpeed you can turn on per site. See the server firewall feature.
  • Cloudflare WAF rules (free on every plan): with your Cloudflare account connected, open the site, go to Security → Overview & Firewall, turn on rules such as Block XML-RPC in the Cloudflare Security Settings card and click Save Settings. See Cloudflare WAF on xCloud and the guide.
  • Cloudflare Enterprise ($5 per domain per month): an Enterprise WAF, DDoS protection and rate limiting at the edge. See Cloudflare Enterprise.

Host your sites on xCloud

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

Frequently asked questions

What is the difference between a firewall and a WAF?

A network firewall controls which ports and IP addresses can connect to a server. A WAF reads the web requests themselves and blocks ones that look like attacks.

Does a WAF replace plugin updates?

No. A WAF lowers the chance an attack reaches a weak spot, but the fix is still to update the plugin or theme. Virtual patching covers the gap until you can.

Do Cloudflare WAF rules on xCloud cost extra?

No. Turning on Cloudflare WAF rules from xCloud is free on every plan. You need a Cloudflare account connected to xCloud with the site's domain in it.