Let's say my web can be accessed with www.example.com and example.herokuapp.com. How can I redirect example.herokuapp.com/* to www.example.com/*?Heroku suggests that I use HTTP status 301 Moved Permanently but doesnt explain on how to do it.
How to redirect a Heroku domain to a custom domain?
domains;301 redirect;heroku