CloudFlare is service that sits ahead of your web server and prevents attacks on your server and caching requests. Basically, it makes your website faster by CDN and makes it secure by its firewall.There are more services that CloudFlare provides like Loadbalancing etc that are mostly required by organization and website to make their website work properly. The best feature of CloudFlare is that it gives free CDN and free SSL.Any one can signup for this process and make his website secure and faster.
Steps to add website to CloudFlare
Step 1. Signup for CloudFlare account at CloudFlare .

After signing up, confirm your email account .
Step.2 Login to your Dashboard and click on Add site on right side of the navbar .

Step.3 Enter your domain into the box and click SCAN and it will scan for DNS nameservers of the domain.
Step.4 Click on continue and below screen will be shown.

Now click on gray CloudFlare icon to route all your traffic through CloudFlare. CloudFlare icon will turn orange on clicking.
Step.5 After clicking on continue.Choose a plan according to your needs.[Free plan is very popular for blogs/websites].
Step.6 Now change your name servers to following name servers.
charles.ns.cloudflare.com
laura.ns.cloudflare.comand that’s all you are set to use CloudFlare and its features.
Using CloudFlare Flexible SSL with your website
Now you have added your website to CloudFlare so just follow simple steps to add HTTPS to your website.
Step.1 Go to crypto option in Dashboard

Step.2 Make sure SSL option is set to Flexible and enable the following items
- Always use HTTPS //Always use https for the requests
- Automatic HTTPS Rewrites // Automatically writes HTTP to HTTPS
Step.3 Now go to the Page Rules option in Main Dashboard and click on add page rule

Replace http://yourdomain.com with your domain and add a * at the end
Finally, it will look like
http://yourdomain.com/*and choose the setting as Always Use HTTPS.
Step.3 Go to your WordPress Dashboard and Install CloudFlare Flexible SSL plugin to prevent redirect loop problem.
Now your all set ..Just clear the Cache and visit https version your website and see it working!
