How to set up your own domain on Heroku
I have deployed a Rails 3.2 app for Heroku. I would like the app to be accessible from http://myapp.mydomain.com and for the routes to be accessible from that url eg. http://myapp.mydomain.com/ModelA/1
I followed the instructions at https://devcenter.heroku.com/articles/custom-domains
When I enter http://myapp.mydomain.com into the bowser address bar, it successfully accepts me into the application.
but the url is rewritten as myapp.herokuapp.com
I have already added the domain to Heroku heroku domains:add myapp.mydomain.com
.
How do I keep a custom domain across the entire application?
+3
source to share