I'm trying to pair a mobile client with a REST API so that I get JSON data which I can display in the app. I'm following Apis on Rails by Abraham Kuri Vargas. In the API I have created a subdomain as well as some versioning, so the controller files are in app/controllers/api/v1. The API returns desired JSON data when I run it locally. The problem I'm facing is whenever I deploy the API onto Heroku/AWS it will show "Application not found". Is it that the remote server isn't finding its way into app/controllers/api/v1? Is there any fix for a problem like this because even in the book the author has written "Due to the structure of the application we are not going to deploy the app to any server". I'm really stuck on this problem for a long time and would love any suggestions!I'm trying to pair a mobile client with a REST