Last Updated: February 25, 2016
·
1.867K
· 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:

https://github.com/kjohnston/naked_redirect