Cloudflare is a Web Application Firewall and it is a global network designed to make everything you connect to the Internet secure, private, fast, and reliable. Secure your websites, APIs, and Internet applications. Protect corporate networks, employees, and devices. Write and deploy code that runs on the network edge.
Please Follow the Steps to Setup Cloudflare.
Login into Cloudflare account
Choose the account and Click “Add Site”
Enter “Domain address” and Click “Add Site” (Here we cannot add subdomains)
Select the Plan (For Production account choose “Business $200/month). If you’re trying Cloudflare, you can go with “Free or Pro” plan.
Note: Free Plan has not advanced WAF protection
After selecting the plan, Cloudflare will automatically search for existing DNS records
Once the Cloudflare pulls the record, it is highly recommended to cross verify all the DNS records with your existing domain records.
Note: If you miss any record, application/service may not work properly. DNS records are highly sensitive.
After verifying DNS records, Cloudflare will generate unique “name server” records for the domain we configured.
Note: For Production domains, do not configure the name servers immediately. Before that, check all WAF Rules, Marketing Bot Rules, SSL Configuration, Load Balancers (If applicable)
Quick Start Guide has some useful features. You can enable or disable based your product needs. We have listed few recommended settings.
By default “HTTP Rewrite” feature is “Turned On”. It is recommended to use this feature. It’ll automatically rewrite HTTP URLs in the HTML and JS files to HTTPs
In the Speed setttings, in the Auto Minify section, choose the option to auto-minify everything: Javascript, CSS, HTML. This will be done by Cloudflare on-the-fly once and then cached. Whenever any of your assets change, Cloudflare will do this again for you.
The advantage of minification is that the size of the file delivered to your browser is a lot less since it strips off unwanted spaces and comments.
Now you’re ready to configure WAF
Highly recommended to configure all the settings before updating the name servers
Configure DNS Records in Cloudflare
Login into Cloudflare account
Go to DNS Column. Click Records
3. Click Add records.
4. Add A records. Add name and IP Address of the server then enabled proxy. Click save.
5. A records for the server is added in the Cloudflare. Likewise we can add MX,CNAME, CAA records in the Cloudflare DNS Records.
Want to print your doc? This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (