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 545248

1

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
6
4

I stumbled on this post by mistake, but I'll give you the rundown.

  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 66.99.80.30.
  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.

I'll attach a couple of screenshots from a friend's site, whom I just walked through the process.

(I lack the 'karma' to actually post the setup images, which is somewhat ironic given the circumstances)

Cloudflare Setup: http://dev.imperativeideas.com/examples/csfp-cloudflare.png

Hover Setup: http://dev.imperativeideas.com/examples/cfsp-hover.png

EDIT: 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 at 16:24 by Imperative Ideas 612

link
2

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 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 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: http://blog.cloudflare.com/introducing-pagerules-url-forwarding

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

How did it work out for you, Webbroi?

(Jan 06 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 static.squarespace.com URL, which CloudFlare won’t have access to, and as a result your website won’t be accelerated.

(May 08 at 16:07) frans8 frans8's gravatar image
(May 08 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 at 18:07) frans8 frans8's gravatar image
showing 5 of 7 Show All

As an update to this ticket:

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 themes in squarespace will suffer from errors when Minification (JS, 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 at 05:33 by Clement 113

link
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](http://url.com/ "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

Tags:

×8
×6
×5

Asked: Oct 01 '13 at 20:02

Seen: 2,277 times

Last updated: Oct 06 at 05:34

Established 2004 Handmade in NYC