· 5 min read · updated agosto 2, 2026

If you’re running self-hosted applications such as web servers, virtualization platforms or monitoring tools, or even if you use cloud-hosted services, connecting your domain to Cloudflare can be one of the best decisions you make.

Cloudflare doesn’t just improve the performance of your site or application through its content delivery network (CDN); it also protects your infrastructure from attacks and reduces the load on your servers. On top of that, the basic Cloudflare setup is completely free, which makes it an ideal solution for beginners and advanced administrators alike.

In this article we’ll walk through the steps to connect your domain to Cloudflare and how you can take advantage of its benefits. We’ll also cover use cases, such as using Cloudflare Tunnels to protect internal services, or monitoring tools like Uptime Kuma.


Why Use Cloudflare to Manage Your Domain?

Connecting your domain to Cloudflare instead of pointing it straight at your server, whether that server is self-hosted or in the cloud, brings a set of benefits that go well beyond simply managing DNS.

1. Better Performance

Cloudflare acts as a Content Delivery Network (CDN), caching your site’s static content on servers distributed all over the world. That means users get the content from the server closest to them, which cuts latency and improves load times.

This is particularly useful if:


2. Stronger Security

Cloudflare adds an extra layer of security against a range of threats:

If you run internal services like Uptime Kuma or management platforms like Proxmox VE, these security measures are essential to keep unauthorized access out.


3. Lower Server Load

By serving static content from its own servers, Cloudflare cuts down the number of requests that reach your origin server. That frees up resources to handle dynamic traffic or heavier tasks.

For example:


4. Free SSL Certificates

Cloudflare provides SSL certificates free of charge, which makes rolling out HTTPS on your domain straightforward. That improves security and builds trust with the people visiting your site or application.

On top of that, if you set up a Cloudflare Tunnel, your internal services get a valid SSL certificate without any manual configuration on your part.


5. Bot and Spam Protection

Cloudflare includes tools to block malicious bots and protect your site’s forms and comments from spam. That’s especially useful for self-managed projects that don’t have a dedicated antispam solution.


6. Flexibility for Self-Hosted and Cloud-Hosted

Cloudflare is a great fit both for self-managed servers (at home or in a data center) and for cloud-hosted applications.

In both cases, its simple interface and the advanced features available on the free plan make it ideal for managing any domain.


How to Connect Your Domain to Cloudflare (Step by Step)

Step 1: Create a Cloudflare Account

  1. Head over to Cloudflare and create a free account.
  2. Once you’re registered, open the dashboard.

Step 2: Add Your Domain

Cloudflare form for adding an existing domain, with the name entered and the automatic DNS scan option selected
  1. Type in your domain name (for example, itrafa.online), select «Quick scan for DNS records» and click «Continue«
  2. Select the free plan (scroll to the bottom of the page) and click Continue.
Cloudflare plan comparison with the zero-dollar free plan outlined in red
Imported DNS records review screen, with warnings about the missing MX and www records

Step 3: Change Your Domain’s Nameservers

Cloudflare will give you two custom nameservers.

Cloudflare instructions for changing the nameservers, with the two assigned ones outlined in red

Log in to your domain provider’s control panel (GoDaddy or Namecheap, for example) and replace the nameservers with Cloudflare’s.

Registrar panel with the Custom DNS option selected and the two Cloudflare nameservers entered

Save the changes and wait for propagation to finish (it can take up to 48 hours, but it’s usually much faster). Cloudflare will email you once it’s ready.


Step 4: Configure Cloudflare’s Rules

Cloudflare overview confirming the domain is now protected, with the speed optimisation link outlined

Once your domain is connected, set up the basic rules you care about or apply the recommendations available on your plan

Speed optimisation section with the Enable all available settings button outlined in red

It should look like this:

List of Cloudflare optimisations now enabled, including HTTP/3, TLS 1.3 and Early Hints

As you can see, Cloudflare has turned on key optimization settings such as:

  1. Measurement: Enabled tools like RUM (Real User Measurement) and Speed Brain to analyze performance based on real user data.
    This helps you identify and optimize load times efficiently.
  2. Protocol: Turned on features like HTTP/2, HTTP/3, TLS 1.3 and “Always use HTTPS”.
    This helps improve load speed, reduce latency and keep connections secure.
  3. Tools: Enabled Early Hints to preload content before the browser even asks for it.
    This helps cut waiting times and improve the user experience.

In short, these optimizations speed up your website, improve security and give your visitors a smoother experience.


Next Steps

  1. Use Cloudflare Tunnels
    Once your domain is connected, set up a tunnel to expose internal services like Uptime Kuma or the Proxmox VE panel.
  2. Optimize self-hosted apps
    Take advantage of Cloudflare’s CDN and firewall to protect and speed up self-managed services such as web servers, Jellyfin or Nextcloud.
  3. Improve security with Zero Trust
    Combine Cloudflare with Zero Trust access rules to restrict access to specific users or authorized IP addresses.

Conclusion

Connecting your domain to Cloudflare is a simple, free way to improve the performance, security and flexibility of your services, whether they’re self-managed or in the cloud. From optimizing content delivery to protecting against DDoS attacks, Cloudflare gives you a complete toolset that makes domain administration easier.

If you’re running applications like Uptime Kuma, media servers or even virtualization platforms like Proxmox VE, Cloudflare is an essential ally for taking your projects to the next level.

Any questions or suggestions? Drop them in the comments and I’ll be glad to help. 🚀

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *