Cloudflare
☁️

Cloudflare

Why use Cloudflare?


  • DDoS attack mitigation
  • Global CDN
  • Super fast DNS
  • Bot protection
  • Separate concerns
  • Cache

Setup new site


  1. Click “Add a site”
  1. Enter the domain
  1. Choose the Free $0 plan (unless specifically requested for a paid plan)
    1. notion image
  1. Click "Continue"
  1. Cloudflare will look for any existing DNS records to import
  1. Check the list to make sure they’re all correct
    1. If it’s a new domain you can add any new records on this screen too, saves adding them afterwards
  1. Click “Continue”
  1. You’ve be given some new nameservers that you will need to update through the registrar
    1. Google Domains
    2. 123 Reg
    3. GoDaddy
  1. Once the nameservers are set, hit “Done, check nameservers”
  1. You're now presented with Quick Start Guide which you can skip and "Finish later" which you may want to do if you're not setting up a site yet.
    1. Quick start guide


      1. Improve security
        1. Automatic HTTPS Rewrites – turn this on
        2. Always use HTTPS – turn this on
      1. Optimize performance
        1. Auto Minify – toggle all these options on if we want to Cloudflare to do this
        2. Brotli – best to turn this on
      1. Summary
        1. Done
  1. Wait for propagation
  1. Once propagated the DNS will go through Cloudflare and you're done