Redirect all requests for www. to root domain with Heroku

Following on from my post the other day regarding Heroku wildcards I thought it would be worth looking at redirecting either www to root or vice-versa. Heroku doesn’t give you the ability to touch the VHost settings, which is where this sort of thing is usually done, but this is not a problem as you [...]

SSL on wildcard domains on Heroku using GoDaddy

We have just finished setting up ssl on wildcard domains for a client. We have set this up on Heroku so that you have ssl on all top level subdomains. For example: *.myapp.com demo.myapp.com hello.myapp.com secure.myapp.com This is a fairly straightforward process, however there appears to be no good documentation online on how to do [...]

Creating a sitemap for Rails and Heroku

Most sitemap posts seem to explain the best way of doing things as running a background job that then writes / updates the sitemap.xml file. This is a bit of a problem in a predominantly read-only environment such as heroku. To solve this, we wrote a quick controller action to create the sitemap on the [...]