Net2Secure: A Leading Data Center Service Provider in India

Home Knowledge Base Cloud Technology /

How to Set Up Cloudflare and Enable or Disable the Cloudflare Proxy


Cloudflare refers to a well-known CDN and security platform that improves your website’s speed, availability, and protection. Routing your website traffic through Cloudflare’s global network helps reduce page load times, protect against DDoS attacks, and preserve your origin server’s IP address. 

Once your domain is integrated with Cloudflare, you can decide whether specific DNS records should pass through Cloudflare’s proxy or connect directly to your server. This is controlled through the Proxy Status option. 

In this post, you will learn how to set up Cloudflare for your domain and how to enable and disable the Cloudflare proxy for individual DNS records.

Here are the Prerequisites:

Steps to Set Up Cloudflare

1. Integrate your website to Cloudflare

2. Pick a Cloudflare Plan

Select the plan that best suits your requirements

If you're setting up Cloudflare for the first time, the Free plan offers CDN, SSL Certificate, DNS management, and basic DDoS protection for most websites.

Then, click Continue

3. Verify DNS Records

Cloudflare automatically scans your existing DNS records.

Review all crucial records before proceeding. Confirm that crucial records such as the following are available:

If any required record is missing, add it manually before moving to the next step, as incorrect DNS records may interrupt your website or email services.

4. Update your domain nameservers.

Cloudflare will represent two assigned nameservers. Log in to your domain registrar and replace your existing nameservers with the ones delivered by Cloudflare. Save the changes and wait for DNS propagation. In most cases, activation completes within a few hours, although it may take up to 24 hours, depending on your DNS cache.

5. Confirm Activation

After the nameserver changes have propagated successfully, Cloudflare will verify your domain automatically. Once verification is finished, your domain status will change to Active, indicating that Cloudflare is now handling your DNS.

Understanding Cloudflare Proxy Status

Each DNS record in Cloudflare includes a Proxy Status option, represented by a cloud icon. 

Proxied (Orange Cloud)

When the cloud icon is orange, requests to your website pass through Cloudflare before reaching your origin server.

With Proxy enabled, you can take advantage of:

DNS Only (Grey Cloud)

When the cloud icon is grey, Cloudflare functions only as your DNS provider.

Traffic is routed directly to your web server, and Cloudflare's performance and security features are not applied to that DNS record. This mode is commonly used for services such as mail servers, FTP, SSH, and other protocols that should not be proxied.

How to Enable the Cloudflare Prox

To enable proxy protection for a DNS record:

  1. Log in to your Cloudflare Dashboard.

  2. Select the domain you want to manage

  3. Navigate to DNS.

  4. Locate the required DNS record.

  5. Under Proxy Status, click the gray cloud icon.
  6. Once the icon turns orange, the proxy is enabled.

How to Disable the Cloudflare Proxy

If you need traffic to bypass Cloudflare, follow these steps:

  1. Log in to your Cloudflare account.

  2. Select your website.

  3. Open the DNS section.

  4. Find the DNS record you want to modify.

  5. Click the orange cloud icon under Proxy Status.

  6. The icon will change to grey, indicating that the proxy has been disabled.

When Should You Enable the Proxy?

Enable Cloudflare Proxy for services such as:

When Should You Disable the Proxy?

It is recommended to keep the proxy disabled for services that require direct server communication, including:

Thus, setting up Cloudflare is a simple way to boost your website’s security, performance, and availability. After connecting your domain by updating its nameservers, you can handle each DNS record individually using the Proxy status option. Keeping the proxy allowed for your website enables you to utilize Cloudflare’s CDN and security features, while disabling it for services like email and FTP ensures they continue to function without interruption.


Anurag Soam

By Anurag Soam

A skilled Technical Content Writer with an unwavering dedication to covering complex concepts and specializing in writing explicit, concise, and SEO-friendly content for diverse audiences. With a solid background in technology, including SaaS, PaaS, IaaS, Documentation, Cloud, Cybersecurity, and DevOps, he’s an expert in curating content that enhances user experience and facilitates product success. He’s constantly updated on the latest industry trends and tools to deliver qualitative technical content.

View all of Anurag Soam's posts.

Contact Us


Related Cloud Technology Posts

We use cookies

By continuing to browse this site, you are agreeing to the use of cookies to enhance your experience.