Generates 301 redirects from old domains to new domains. Minimal, rack-based.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A minimal, rack-based domain-redirecter. Generates 301 redirects from a set of source hostnames to their corresponding destination hostnames while preserving paths and querystrings.

Steps for setting up your own rerouter on Heroku:

git clone
cd rerouter
gem install heroku
heroku apps:create
git push heroku master
heroku config:set REDIRECTS="{''=>''}"
heroku domains:add

Then, update the DNS of to be a CNAME pointing to the new heroku app.