- Amazon Web Services
How to Set Up Free Cloudflare CDN for your website?Step by step with no step skippedBelow I have mentioned all the steps with a lot of images, which also has annotations. In case you are stuck somewhere in the process do comment down below or contact us on our social media handles.
Surf into Cloudflare official website and sign up for an account
- Go to Cloudflare’s official website and click sign up.
- Enter your email address and the password you would like to use.
- Check for opting emails (Recommended) so, that you will be informed when Cloudflare has to communicate something.
- Click on Create account.
- You might have to confirm your email address from your mail handle.
Add your site to Cloudflare
- In this step, add your domain name in the space provided and click on add site button.
- Now Cloudflare will ask you to select one of their plans.
- I would recommend you to use the free plan to start with and later upgrade it when necessary.
- Confirm your plan in the next window.
Setting up DNS records in Cloudflare
- Cloudflare automatically tries to fetch certain records for your domain like “A” records.
- If it doesn’t fetch, then you can always add it manually as shown in the images below.
- If you check the drop-down menu, you can see few records such as A, AAA, TXT, MX, CNAME, etc;
- MX, TXT records are for mail handles. If you’re into email marketing you will have to deploy the MX and other mail records here.
- As of now, you can concentrate on just “A” records.
- “A” record basically means the server IP address to which your domain name must point so that the browser can fetch your website files from the server.
- So, go to web hosting C-panel and get your IP address from there and fill in the box as shown in the images.
- Set “A” records for both “www” version and also “non- www” version.
- Once every record has been added, click on “Continue”.
- In the next step, Cloudflare will give you their nameservers as shown below.
- You will have to copy these nameservers and deploy it in your DNS records from where you have bought the domain.
- This option might vary accordingly with your Domain Provider. In this demo, I’ll be showing you Hostgator’s DNS as an example.
- If you find any trouble finding your nameservers option in your DNS, comment down below with the name of your Domain Provider and we’ll be happy to help you or else you can also contact your Domain provider and they’ll guide you.
- Find your domain under the orders list.
- Click on Nameservers option.
- And deploy the copied Cloudflare nameservers into this field and save changes.
Verifying the changes
- Now go to your Cloudflare dashboard and navigate to the Overview tab.
- Check the status and see if it’s showing “Active”.
- To double check things, head over to Hostadvice website and under tools find the who is hosting option.
- Enter your domain name and hit “Find Hosting”.
- If Cloudflare has been set up properly it’ll show that the domain is hidden behind Cloudflare.