I have developed a Rails multi-tenancy application using Apartment gem which works fine locally and I am able to test it using lvh.me:3000/ but, couldn't able to deploy it to heroku. However, heroku push finishes it the normal deployment process on terminal. Basically, what I need is; instead of accessing myapp.herokapp.com I would like to be able to access subdomain.myapp.herokuapp.com. Currently, when I try access my app url, it's redirected to herko landing/homepage, i.e may app is not configured as subdomain.myapp.herokuapp.com hostname.
Similar question asked more than two years ago: Subdomain with Rails and herokuapp