I use the free option from Zerigo DNS at Heroku to manage custom domains 
for a half-dozen static and Rails sites. I suspect tens of thousands of 
Heroku users do the same.

Got this from Zerigo today:

If you are currently on an unpaid Zerigo DNS plan, and would like to 
continue 
to utilize Zerigo DNS services through Heroku, you must convert your 
account 
to a paid Zerigo Virtual DNS plan by January 31st, 2014.

The minimum cost is $7.00/month, which is not killer, but $42.00/month for 
six sites had me looking for an alternative. I found CloudFlare and moved 
the DNS for one site to their free plan. Seems to work fine.

I used the instructions 
at http://www.higherorderheroku.com/articles/cloudflare-dns-heroku/ but 
they are not very clear, so here's what I did. In this case I added just 
two records:

A               mysitename.com   points to 75.101.163.44
CNAME   www                     is an alias of mysitename.herokuapp.com

and I added one Page Rule, first turning Forwarding 'On':

mysitename.com/*
Forwarding: http://www.mysitename.com/$1
Forwarding type: Permanent - 301

Then I went to the domain name host (in this case GoDaddy) and changed the 
domain name servers to

dan.ns.cloudflare.com
kara.ns.cloudflare.com

Seems that it is the rule that redirects domain level requests to the www 
subdomain and the A record is superfluous, but apparently it's needed for 
CloudFlare's setup to work.

I hope this saves someone some time.

Scott

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to