How to Enable Cloudflare on Sites Hosted on Linode or any Other Cloud Hostings

CloudFlare uses CDN-like technology which provides content delivery network services, DDoS prevention, and Internet security. CloudFlare owns multiple data centers to provide cache static content in order to make website load faster. Even though Linode is quite powerful to host any websites. However, you will one day need CloudFlare just because of traffic spike or DDoS attacks. 

How to enable Cloudflare?

  1. Create a free Cloudflare account.
  2. Choose Add a new site and input your site’s domain name to get started. Remember to choose Free plan.
  3. Wait for Cloudflare to detect current DNS records. In most case you don’t need to change any records.
  4. Change your domain’s nameservers to ones provided by Cloudflare. Free accounts’ nameservers are clark.ns.cloudflare.com and linda.ns.cloudflare.com. This step can be completed on your domain name’s registrant.
  5. Wait for DNS changes to be completed. This step can take up to 24 hours to complete.

How to Check if a site is using Cloudflare?

You can check whether your site has CloudFlare enabled by viewing page’ header.

  1. On your web browser, open developer tool. Most can be opened using F12.
  2. Under Network tab, click on current page’s request (the first request).
  3. The site is using CloudFlare If the request’s header contains CF-Cache-Status: HIT.