Last Updated: February 25, 2016
· kjohnston

Redirect naked domains to www-equivalents

I hate using www subdomains and all, but depending on your DNS provider you may have to with Heroku + SSL, so I made a tiny Sinatra app that deploys easily to Heroku to handle redirection from naked domains to their www-equivalents: