I've deployed a Rails 3.2 app to Heroku. I would like the app to be accessible from http://myapp.mydomain.com and for routes to be accessible from this url, e.g. http://myapp.mydomain.com/ModelA/1
I've followed the instructions at https://devcenter.heroku.com/articles/custom-domains
When I enter http://myapp.mydomain.com in the bowser addressbar it successfully takes me to the app.
BUT the url is rewritten as myapp.herokuapp.com
I've already added the domain to Heroku heroku domains:add myapp.mydomain.com
.
How do I maintain the custom domain throughout my app?
http://myapp.mydomain.com
, but is not displaying the rest of the route. No matter which page I'm on, the URL remains the same. Strange! Any idea why this might be? - Andy Harvey