Step 1 – Create an account with CloudFlare
To get started using CloudFlare, the first thing you’ll need to do is create an account on CloudFlare. It’s super easy.
Step 2 – Add your website to your CloudFlare account
Once you have signed up, you’ll be given the opportunity to add a domain / website. Enter your domain name, choose “Add website” and CloudFlare will begin scanning your DNS records. It takes about a minute.
Once that says “Scan Complete” next to your domain, click “Continue Setup”
Then you’ll get to a screen that says “Verify That All Of Your DNS Records Are Listed Below”
Scroll to the bottom of that page, and click “Continue”
You will then be taken to a page that will ask what plan to put Cloudflare on. One of the plans is free. After selecting your plan click “Continue”
Step 3– Get your CloudFlare name servers
Next you’ll be taken to a page that will tell you the new nameservers to use for your domain. You’ll want to change the nameservers of the domain to the ones Cloudflare gives you. You can do this in the account you have with the company you bought the domain from. This tutorial has screenshots from Bluehost but it will look the same for similar registrars like Hostmonster, Justhost, and Fastdomain.
Step 4 – Set those nameservers through your registrar
Login to that account and go to the domains section and select the domain from the list:
Then to the right of that click the “name servers” tab and choose “Use Custom Nameservers” and enter the nameservers that CloudFlare provides you.
There is a propagation period when changing DNS records. It normally doesn’t take longer than 2 hours, but it can take up to 24-48 hours to be complete so don’t worry if you don’t see the change right away.
You’re all set! You can now use CloudFlare for free DNS hosting and use custom A records, CNAMEs, and MX records.