I am trying to deploy a SharePoint Hosted App on my Dev machine by packaging it and uploading in app catalog. App when deployed directly using visual studio is working fine. But when I upload the app using app catalog and add it to a site, clicking the app gives
"Page cannot be displayed"
message. Any idea why this is happening? App Domain and App catalog url is configured properly.
While deploying using app catalog, entries are not added to host file. Manually adding the app domain entries resolves the issue. Is there any permanent fix for this so that i don't have to manually add the entries?