How to Setup/Connect Your Website to Cloudfare

Cloudflare is a CDN (content delivery network), it allows people around the world to view your website information faster. It places your website’s data on multiple servers around the world, this way when someone tries to access your website they are connected to the closest source of data, reducing load times for customers. For more in-depth information on the services they provide you can check out Cloudflare.

Using Cloudflare means moving your domains DNS management to them. If your domain isn’t hosted with Harmonweb you’ll need to make sure you have the ability to configure your domains Name Servers before proceeding. If you have multiple domains, you only need to set up Cloudflare with your primary domain.

  1. Once you have created an account at Cloudflare find the +Add Site button at the top right of the screen.
  2. Enter your domain name into the box. Make sure you remove the http:// and www parts from the front if you are pasting in.
  3. Click Add Site
  4. At the next step choose your plan. We’d recommend the Free plan which gives you everything you need to get basic SSL up and running. If you want to install your own custom SSL certificate you might want to upgrade to their Pro plan. You can review their plans here https://www.cloudflare.com/plans/.
  5. On the next screen, you need to review the DNS settings and make sure all your current DNS settings have copied across. The example below has pulled across the standard Harmonweb UK Server settings, though your own domain may have different settings depending on what emails and hosting you have setup.
  6. At the next step you are given the Nameserver settings to change on your domain. You will need to update these at your current domain registrar. If Harmonweb is hosting your domain name you can follow our Name Servers guide.
  7. Nameservers usually take 24 hours to update. You can recheck if the nameservers have updated.
  8. Once the nameservers have been picked up, you’ll get a Status: Active indicating the Nameservers are pointing at the right location and your site is now running through CloudFlare.

Setup HTTPS / SSL with CloudFlare

Once your domain name is running through Cloudflare we recommend you follow these extra steps to force all traffic over HTTPS. Follow the CloudFlare guide here to enable forced HTTPS.

Use Full SSL

By default Cloudflare secures the website traffic between your browser and Cloudflare with their Flexible SSL option. But the connection between Cloudflare and Harmonweb may not be secure. To ensure this is secured make sure you choose the Full SSL option. End-to-end HTTPS with Cloudflare – Part 3: SSL options.

It’s not possible to enable SSL/HTTPS at Harmonweb with CloudFlare

Due to technicalities and the way Harmonweb automates the verification of our SSL certificates it isn’t possible to enable SSL on the Harmonweb side if you are using Cloudflare’s service. It is recommended you enable SSL with Cloudflare instead. Follow the CloudFlare guide here to enable forced HTTPS.

Full Page Caching

If you’re not worried about small changes appearing right away, but would like your full site to be cached around the world for faster loading in all countries follow these extra steps. Customizing Cloudflare’s cache.

Leave a Reply