What is Cloudflare? DNS and DDOS Security Configuration for Websites
cloudflareis the world's most popular free cyber security and CDN (Content Delivery Network) service, which acts as a bridge (Proxy) between your website and the users visiting your site. When you use Cloudflare, your site's real IP address is hidden, preventing a direct cyber attack (DDoS) on your server. Here are the steps to install Cloudflare from scratch.
Step 1: Adding the Site and Scanning DNS Records
- cloudflare.com Create a free account by going to.
- After logging in "Add a Site" Click the (Add Site) button and type your website address (Ex: `domainadi.com`).
- From the package selection screen that appears, click on the button at the bottom. Free ($0 - Free) Continue by selecting the plan.
- Cloudflare will automatically scan all DNS records (A, CNAME, MX, etc.) in your site's current hosting. Check and confirm the list.
Step 2: NameServer (NS) Redirect
To transfer the administrative traffic of the site to Cloudflare, you must change the NS addresses in the company where your domain name is registered:
- The Cloudflare screen will give you two new NS addresses (Ex: `alec.ns.cloudflare.com` and `sofia.ns.cloudflare.com`).
- Go to your domain name company's panel, delete the old NS addresses of your site, write these new Cloudflare NS addresses and save them. *(Note: NS addresses may take 1 to 24 hours worldwide to be established).*
Step 3: Gold Security Settings (Under Attack and SSL)
- Attack Protection (Under Attack Mode): If your site is under heavy bot attack, from Cloudflare panel Security > Settings Go to section and set the security level. "Under Attack" do it. In this way, suspicious people entering the site will be presented with a 5-second browser verification screen, completely eliminating the attack.
- SSL Setting: To avoid getting an SSL error on your site, click on the Cloudflare panel. SSL/TLS From the tab, you can change the encryption mode according to the structure of your site. flexible or Full (Strict) Set to .
This article is specially prepared for PvPServer.