What is Cloudflare
Cloudflare act as a protection for the main server. It is an intermediary for requests from clients seeking resources from other servers just like a proxy. So it can hide the existence and characteristics of an origin server or servers. When you go to a website, you’ll be directed to one of Cloudflare’s servers instead of the actual site’s servers. Cloudflare offers security and performance features to a wide network of websites.
Working of Cloudflare
With Cloudflare network of servers worldwide, if a server experiences an issue, the CDN simply “fails over” to use another server. Cloudflare also improves the server security by blocking threats before they reach on the site. It blocks and limits abusive bots. It provides protection from DDoS attack. There is an option in Cloudflare to enable attack mode when our domain is under attack.
They block threats based on a variety of factors, such as HTTP headers, blacklists, reputation, protect key ports—like FTP and SSH—from hackers, Browser integrity and more.
Cloudflare is the best CDN available among others in the market. It is the most popular one and has an excellent variety of services to both optimize and protect any website.
Note : It is always good to make such changes after consulting an experienced Linux administrator.