title: Subdomain with Rails and herokuapp
body: <p>I have followed Ryan Bates railscast on subdomains (<a href="http://railscasts.com/episodes/123-subdomains-revised" rel="nofollow noreferrer">http://railscasts.com/episodes/123-subdomains-revised</a>) and have my app working perfectly locally.</p>
  
  <p>I have deployed to heroku but am unable to get my subdomains to work. I have read about custom domains, DNS and CNAME records but I don't think this is relevant because all I am trying to do is test straight on heroku what I was testing locally. So instead of accessing <em>myapp.herokapp.com</em> I would like to be able to access <strong>m</strong>.myapp.herokuapp.com. Currently when I try this I get the error:  There is no app configured at that hostname.</p>
  
  <p>Can anyone offer a solution?</p>
  
  <p>UPDATE:</p>
  
  <p>Whoops, I think this is a duplicate: <a href="https://stackoverflow.com/questions/14082029/how-to-create-a-subsubdomain-for-an-app-on-heroku-e-g-sub-myapp-herokuapp-com">How to create a subsubdomain for an app on heroku: (e.g. sub.myapp.herokuapp.com)</a></p>