# How to enable Cloudflare in Magento (and why it helps)

> Enable Cloudflare on your Magento store to serve content faster to visitors around the world, straight from your Kualo cPanel.

Source: https://www.kualo.com/knowledgebase/magento-performance/how-to-enable-cloudflare-railgun-in-magento-and-why-you-should
Updated: 2026-06-09

---

Cloudflare is a Content Delivery Network (CDN) included free with all Kualo Magento plans, and you can switch it on in a couple of clicks from cPanel - no changes inside Magento required.

## What is a CDN and why does it matter?

Data travels fast across the internet, but distance still adds up. A visitor loading your store from the other side of the world will wait longer than one loading it from the same city as your server. The further the data has to travel, the more noticeable the delay.

A CDN solves this by mirroring your static content - images, CSS, and JavaScript - across a global network of caching servers. When a visitor requests your site, the CDN serves that content from whichever server is closest to them. The result is a faster experience for visitors everywhere, not just those near your datacentre.

![CDN diagram showing content served from nearby edge nodes](https://kb-cdn.kualo.com/2d/2d/2d2d00eba158e13e419651a0fc379d4d84d6d159.png)

Cloudflare works at the network layer, so it requires no integration work inside Magento itself. Once it is enabled for your domain, it starts working automatically.

![Cloudflare performance overview](https://kb-cdn.kualo.com/a1/87/a18720e18726d200b07b58ff257b2583c20ce636.png)

## How to enable Cloudflare

1. [Log in to your cPanel](/knowledgebase/cpanel-how-tos/how-to-login-to-cpanel) account.
2. Under the **Software** section, click **Cloudflare**.

   ![Cloudflare icon in cPanel Software section](https://kb-cdn.kualo.com/80/4f/804ff2fdedf83e2f9739b0b64e7d93075c882b17.png)

3. Log in to an existing Cloudflare account or create a new one.

   ![Cloudflare login or sign-up screen](https://kb-cdn.kualo.com/d0/b4/d0b410692b44d9acc21b16d9bd719b679b37b0ca.png)

4. If your cPanel hosts more than one domain, select the domain you want to provision Cloudflare for.

   ![Domain selection list in Cloudflare cPanel integration](https://kb-cdn.kualo.com/84/f2/84f233db246f14b4e869135d1bc4bb0804808a61.png)

5. Choose a provisioning type (see below), then complete the setup.

## Provisioning types

| Type | How it works | Best for |
|---|---|---|
| **CNAME setup** | Adds a CNAME record pointing `www.your-domain.com` to Cloudflare. No change of DNS provider needed. | Sites using the `www` prefix only |
| **Full zone setup** | Cloudflare becomes your authoritative DNS. You update your nameservers to those provided by Cloudflare. | Sites using both `www.your-domain.com` and the bare domain `your-domain.com` |

:::tip
If you are unsure which to choose, full zone setup is the more flexible option and works in all cases.
:::

Once provisioning is complete, Cloudflare will begin caching and serving your static assets from its global network. You can manage caching rules, security settings, and performance options from within the Cloudflare dashboard.

If you need any help getting set up, please [contact us](https://www.kualo.com/company/contact).

---

_Source: Kualo Knowledgebase — https://www.kualo.com/knowledgebase/magento-performance/how-to-enable-cloudflare-railgun-in-magento-and-why-you-should · © Kualo Ltd._
