What is CloudFlare?
CloudFlare is a content delivery network that acts as a proxy server between the website and the visitor. It makes the website load speed faster by delivering cached static content from the nearest region (CloudFlare has many servers around the world). Moreover, CloudFlare handles all requests to a website and can offer different and useful services compared to conventional CDNs.
These are respectively;
- DDoS attack mitigation
- Analyzes on all requests made to a website
- Easy SSL certificate setup
- Gateway between protocols
You must subscribe to CloudFlare and add the domain. After the domain name you added is scanned, you will see the DNS settings.
At this stage, you can enable or disable CloudFlare for specific subdomains. Orange Cloud enables CloudFlare for the DNS record of your choice, while Gray Cloud disables CloudFlare.
At this stage in the installation, two version options will appear. You choose the free one.
Then you will be given CloudFlare name servers. Log in to your domain provider’s control panel and replace your domain name servers with CloudFlare name servers.
It can take up to 48 hours for DNS to settle worldwide. Once the update is complete, you will receive an e-mail notification.
Now you need to install the WordPress CloudFlare plugin. After completing the installation, you can configure the plugin.
You will need to log into CloudFlare and enter your e-mail address and API key. Click the Get your API Key from here button. After clicking this button, your CloudFlare account will be opened and then you will be able to find your API key under the API Key section.
Once you have your API key, enter the email address and API key on your WordPress website and press the SAVE API Credentials button.
As a result, you will protect your website against DDoS attacks. You will also speed up your site.