I am developing a Sharepoint-hosted App in Visual Studio 2012 on our on-premise Sharepoint. I've successfully been able to deploy and test the app on our dev site, but when I package the app, add it to the app catalog, and install the app on a team site, I get a "This page can't be displayed" error.
What I've noticed that I am not redirected to the generated URL with the '' prefix (like I see on the dev site). I've tried installing a simple packaged app and tried it on our dev site, but received the same "can't be displayed" error.
Why does a sideloaded app deployed via VS2012 work, while a packaged app, uploaded to the app catalog and installed doesn't? And how can I get this to work?
Our environment is Sharepoint 2013 installed on MS Server 2012.