The free account with CloudFlare does not support SSL. However, this does not mean you cannot use a free Cloudflare account with your SSL certificate. More information about this can be found in our tutorial here:
Does CloudFlare support SSL?
This is very first and the good step to take backup. Before performing the following procedure, it is a good idea to make a backup of your account prior to making any changes.
As you may or may not know, Cloudflare works via a CNAME record for www. This means that
www.yourdomain.com is redirected to Cloudflare’s servers, but yourdomain.com (without www) is not.
Modify this code