Christopher Warren on Ruby on Rails, Programming, Photography, and Life
After seeing how easy it was to get a Rails site up and running on Heroku with Rails Mentors I decided I should move Tightwad over as well. We’ve cut back on most development for Tightwad lately, but we were still paying for hosting despite fairly low traffic. A quick deploy to a Heroku subdomain and I was sure we could run the site on their free leve, so I decided to take the plunge. However, I quickly ran in to a problem.
Heroku wants you to use a CNAME to point a subdomain of your site to their proxy address, and I got that up and running right away. www.imatightwad.com was set up and running with little trouble, but without www things came apart. Now, I could pay $5 a month to Heroku for a wildcard match on the domain, and that’d be fine. But what if I want to set up blog.imatightwad.com in the future? What if I want to point help.imatightwad.com somewhere? I like using Dreamhost to control my domains.
While the amount of control that they allow over DNS and other details of the setup is admirable compared to other places I’ve tried, there are a few DNS records that they won’t let you edit. After trying several approaches and looking for any way to do a redirect of the primary domain that would be supported by Dreamhost, I finally caved in and contacted support. Maybe the solution was right under my nose. In less than 30 minutes I had a response, telling me to reenable hosting for the domain, using their radio button to redirect no subdomain to www, and they would remove the uneditable A record that were causing me trouble. And now everything is happy at TightWad.
So kudos to Dreamhost for being so responsive, and to Heroku for offering such a great hosting service. I’ve never been able to deploy a Rails app so easily. Oh, and finally, thank you to Brian Hogan and Kevin Gisi for their work on Lazy Developer, which made moving our data between servers painless.
Support Ruby on Rails Programming
Comments (0)
Permalink
Ruby on Rails Programming
Ruby on Rails
Life In General
Support Experience and Interaction
Christopher Warren is a Ruby on Rails developer from Minneapolis, MN.