Day 5 - Setting up CloudFlare DNS
In today's lesson, we'll learn how to setup CloudFlare DNS for your domain name. It will take only 10-15 minutes and it is a simple setup.
Why Use Separate DNS?
It's a good practice to use CloudFlare or Amazon Route 53 to manage DNS records than using the hosting company's name servers.
If you are changing your server and if you are using the hosting company's name-servers, all the DNS records (such as CNAME and MX records) have to be manually changed for the domain name again.
With CloudFlare or Route 53, you can retain all the settings in one place and just change the A record to the new server's IP address and get your site up and running in no time. All the other records will be untouched and it will have no downtime.
CDN: Also, CloudFlare caches the pages at the DNS level and serves cached version of the pages to the users via a CDN network. It reduces the load on your server. It filters bot traffic too!