09 Nov '12, 3pm
Wanting to get @cloudflare configured for your @heroku app? Here's the right DNS config that avoids A-records:
CloudFlare is a popular, and accessible, CDN and website optimizer. If you’ve heard of Akamai then you know basically what CloudFlare does – they sit between your site and your users and accelerate your site’s content by edge-caching and other nifty on-the-fly techniques. CloudFlare also offers additional availability and security features to automatically handle DDoS and other real-world problems. Heroku needs no introduction other than to say it’s the best place to deploy your applications. So, how do you get the benefits of CloudFlare for your Heroku application? Until CloudFlare provides a Heroku add-on there’s a bit of manual configuration that needs to occur. For the purpose of this post I’m assuming you already have a CloudFlare account and an existing Heroku app. Initial setup Since CloudFlare needs to be able to handle DDoS and other traffic-related events on your...