Connecting Site To Cloudflare

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000084176

Cloudflare helps websites load faster, stay online, and stay protected from cyber threats. It works by directing traffic through its global network of servers, which speeds up loading times and blocks attacks from hackers, spam, and harmful bots. Think of it as a security and performance booster that keeps everything running smoothly in the background.  


For website owners, this means less downtime, better protection, and a faster experience for visitors. Cloudflare also helps manage traffic efficiently, reduces strain on the website’s server, and improves search engine rankings. With features like automatic caching, security filters, and smart traffic routing, it makes running a website easier and more reliable.


Create Account


1. Create an account with Cloudflare and select "Add Domain":


2. Add the domain:




3. Select the Free version:





4. Hit "Continue":



Connect Cloudflare to Website

Cloudflare provides two nameservers that need to be connected in your Domain Registrar settings.  


In a separate browser tab, log in to your domain registrar, go to the DNS settings, and remove the BD nameservers before adding the new ones from Cloudflare.


Nameserver Method

Remove the Brilliant Directories nameservers:





Now add the ones that Cloudflare provided:

 


A Record

When a website is connected to Cloudflare, an A Record must be added to point to the IP address of the Brilliant Directories website.


The IP Address for the BD site is found in the Domain Manager:





Helpful Links


Cloudflare Settings

There are specific settings that need to be configured to ensure Cloudflare works correctly on the website.


Automatic HTTPS Rewrites

Select toggle: Off



Always Use HTTPS

Select toggle: Off



Summary: Hit "Finish".


Rocket Loader

Speed >> Optimization >> Content Optimization: Disable Rocket Loader



Scrape Shield

Scrape Shield >> Disable Hotlink Protection


Security Headers

Rules >> Transform Rules >> Managed Transforms >> Disable "Add Security Headers"