Cloudflare can improve website performance, security, and DNS management. It can cache static files, protect websites from unwanted traffic, manage DNS records, and route visitors through Cloudflare’s global network.
Both cPanel and the mybox panel can be used with Cloudflare, but the way users configure it is different. In cPanel, Cloudflare usually depends on the hosting provider’s setup. In mybox, Cloudflare is connected to the user’s mybox account through a Cloudflare profile and API key.
Table of Contents
Cloudflare in cPanel
In cPanel, Cloudflare is not always available by default.
Some hosting providers add a Cloudflare plugin to cPanel. If this plugin is available, users can connect their domain to Cloudflare and manage some Cloudflare options from inside cPanel.
If the plugin is not available, Cloudflare must usually be configured directly from the Cloudflare dashboard. In that case, the user needs to:
- Create or log in to a Cloudflare account.
- Add the domain to Cloudflare.
- Check or import the DNS records.
- Change the domain’s nameservers to the Cloudflare nameservers.
- Manage Cloudflare settings directly from Cloudflare.
Because of this, the Cloudflare experience in cPanel can be different from one hosting provider to another.
Cloudflare in mybox
In mybox, Cloudflare is configured through a Cloudflare profile connected to the mybox panel.
To set this up, the user needs a Cloudflare API key. This key allows the mybox panel to connect to the user’s Cloudflare account and manage the integration.
Important: the domain should not already be added manually in the Cloudflare panel before being integrated with mybox. If the domain is already added in Cloudflare, the integration may not work correctly. You can find a complete guide on how to configure Cloudflare in mybox HERE.
How Cloudflare is configured in mybox
The general configuration flow in mybox is:
- Generate or copy the API key from the Cloudflare account.
- Log in to the mybox panel.
- Click the account name in the upper-right corner.
- Open Settings.
- In the Users section, click + Add User.
- Enter the email address and the Cloudflare API key.
- Enable Set as Default Profile when adding the first Cloudflare profile.
- Confirm by clicking Add.
After this, the Cloudflare profile appears in the mybox panel and can be used for domain integration.
Default Cloudflare profile in mybox
The mybox panel allows users to choose which Cloudflare profile should be used by default for newly added domains.
To change the default profile:
- Go to the Cloudflare profile settings.
- Click Actions next to the profile.
- Select Change settings.
- Choose the profile that should become the default.
- Save the changes.
This is useful when one mybox account has more than one Cloudflare profile or when the user wants new domains to use a specific Cloudflare account automatically.
Main differences between cPanel and mybox
| Area | cPanel | mybox panel |
|---|---|---|
| Cloudflare availability | Depends on the hosting provider | Available through mybox Cloudflare profile configuration |
| Setup method | Plugin, if available, or external Cloudflare dashboard | Cloudflare API key added in mybox settings |
| Domain preparation | Usually handled in Cloudflare or through a plugin | Domain should not already be added manually in Cloudflare before integration |
| Account connection | Depends on cPanel plugin/provider setup | Cloudflare account is connected through email + API key |
| Default profile | Depends on provider/plugin | A default Cloudflare profile can be selected for newly added domains |
| User experience | Can vary between providers | More consistent inside the mybox panel |
Cloudflare and DNS
Cloudflare is closely connected to DNS. When a domain uses Cloudflare nameservers, DNS records such as A, CNAME, MX, and TXT are usually managed through Cloudflare.
This is important because DNS records must be changed where the active DNS zone is hosted.
For example:
- If the domain uses Cloudflare nameservers, DNS is managed in Cloudflare.
- If the domain uses mybox nameservers, DNS is managed in mybox.
- If the domain uses another DNS provider, records must be changed there.
This rule applies whether the website is hosted on cPanel or mybox.
Cloudflare and email
Cloudflare does not replace normal email hosting. Even if the website traffic goes through Cloudflare, email still depends on correct DNS records.
The most important email-related DNS records are:
- MX records for receiving email
- SPF records for email authorization
- DKIM records for email authentication
- DMARC records for email policy and protection
If the domain uses Cloudflare nameservers, these records must exist in Cloudflare DNS. If they are missing or incorrect, the website may work, but email may fail.
Which panel is easier for Cloudflare?
cPanel can work well with Cloudflare, but the experience depends on the hosting provider. If a Cloudflare plugin is available, the setup may be simple. If not, users need to manage Cloudflare separately from the Cloudflare dashboard.
mybox uses a more account-based approach. The user connects a Cloudflare profile to the mybox panel using an API key, then the panel can use that profile for domain integration. This makes the setup more structured and easier to manage from one place.
Conclusion
Cloudflare can be used with both cPanel and mybox, but the configuration flow is different.
In cPanel, Cloudflare depends on the hosting provider. Some users may have a Cloudflare plugin, while others need to configure Cloudflare manually from the Cloudflare dashboard.
In mybox, Cloudflare is configured by adding a Cloudflare profile inside the mybox panel. The user adds the Cloudflare account email and API key, then can set that profile as the default for newly added domains.
For users who want a consistent Cloudflare setup inside their hosting panel, mybox offers a clearer and more modern flow. For users who already manage Cloudflare manually, cPanel can still work, but the process depends more on the hosting provider’s configuration.