How to Setup Squarespace on Cloudflare CDN (Content Delivery Network)

I have searched both Squarespace and Cloudflare Support as well as blogs. I don't have any specific instructions on the best way to utilize the Free version of the Cloudflare CDN with Squarespace. If its even possible. I get a notification of SSL on the site.

Squarespace Support gave me this link:

Cloudflare Support DNS Setup instructions

If you can't do it on the Free plan, whats the best method on the Cloudflare premium plan? Change to the Cloudflare Name servers?

asked Oct 01 '13 at 20:02 by webbroi 685249


I’m wondering the same thing. Opening a CloudFlare ticket now — especially with this DDoS garbage.

(Dec 19 '13 at 17:32) alanhouser alanhouser's gravatar image

@squarespace Any word on this? It would be nice to have some sort of CDN protection. Especially after the recent issues with DDos attack.

(Dec 30 '13 at 17:33) webbroi webbroi's gravatar image

answered Dec 14 '14 at 08:40 by zoopzoop 804


Thanks for updating this. Solid work.

(Dec 15 '14 at 12:07) webbroi webbroi's gravatar image

Thanks! :)

(Dec 15 '14 at 12:09) zoopzoop zoopzoop's gravatar image

This worked great for me, thanks for the writeup!

(Dec 15 '14 at 12:14) tim_jennings tim_jennings's gravatar image
  1. Point your nameservers at CloudFlare
  2. Set up the www domain, as instructed
  3. Send the @ name back to your domain provider’s default IP address. I use Hover, so that address is
  4. At your domain host, forward the domain as though you had never pointed your DNS at CloudFlare.

You’re basically sending the nameserver to CloudFlare then bouncing the non-www record back to the original host, who still has your DNS setup even though it’s inactive. Your host then forwards the domain on to the correct destination.

CloudFlare Setup

Hover Setup

You could almost certainly make this work with CloudFlare’s new Page Rules / Forwarding system as well but I haven’t tested it yet.

answered Jan 02 '14 at 16:24 by Imperative Ideas 612


It's worth noting that the system works and is reliably forwarding the domain I just set this up on. Squarespace still thinks it's broken (it's not). We'll see if that resolves itself. I'm guessing they are just on a different DNS timer.

(Jan 02 '14 at 16:54) Imperative Ideas Imperative%20Ideas's gravatar image

Great..I'm going to try this now. Let you know how it works out.

(Jan 02 '14 at 18:25) webbroi webbroi's gravatar image

You could probably make CloudFlare's new page rules system do the same thing, but I haven't had a chance to play with it yet:

(Jan 02 '14 at 18:39) Imperative Ideas Imperative%20Ideas's gravatar image

How did it work out for you, Webbroi?

(Jan 06 '14 at 21:29) Imperative Ideas Imperative%20Ideas's gravatar image

I’ve set up CloudFlare and it works with Squarespace.

However it doesn’t help to accelerate your entire website around the world.

As CloudFlare is only being granted access to your domain itself, most – or probably all – of your content is residing on the URL, which CloudFlare won’t have access to, and as a result your website won’t be accelerated.

(May 08 '14 at 16:07) frans8 frans8's gravatar image
(May 08 '14 at 16:14) silvabokis silvabokis's gravatar image

Yes, I know, but it is a CDN which is NOT or only LIMITED covering a big part of the world, namely Australasia. And in particular it doesn’t cover mainland China.

(May 08 '14 at 18:07) frans8 frans8's gravatar image
showing 5 of 7 Show All

As an update:

  1. The free plan of CloudFlare now support SSL.
  2. Instead of pointing back to the original DNS host, use rules in CloudFlare.
  3. Squarespace already have their own CDN for static contents therefore use CloudFlare for DDOS, hotlinking and traffic protection and management.
  4. Some Squarespace templates will suffer from errors when minification (JavaScript, CSS, HTML minify) is turned on in CloudFlare, therefore choose your Performance settings in CloudFlare carefully.

Everything is working fine for me, but it would be really great to have some input from the Squarespace team in terms of best practices.

answered Oct 06 '14 at 05:33 by Clement 113


I'm new to CloudFlare but am wondering if using it for our Squarespace site would be a work around to some SSL issues I'm having.

We are using Click and Pledge for Salesforce and we have two Forms as a Service (FaaS) pages that when we click submit we get an huge Alert - "The request has originated from an insecure page. The posting URL is: PCI Standards mandate that personal information may only be transmitted over secure connection. Please add an SSL key to the site and post through a secure connection using https:// instead of http://"

Any ideas if CloudFlare can help with this issue?

answered Dec 10 '14 at 20:35 by SarahClem 1


You might be able to use the built-in domain’s https connection in some way to get around that:

(Dec 11 '14 at 08:36) neeklamy neeklamy's gravatar image

The detailed guide you may find here on setting up cloudflare, one of the best free cdn

answered Jun 26 at 14:25 by kidingwithlaura 0



(Jun 26 at 14:30) zoopzoop zoopzoop's gravatar image
Your Answer
toggle preview

Follow This Question

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 01 '13 at 20:02

Seen: 6,704 times

Last updated: Jun 26 at 14:30

Established 2004 Handmade in NYC