When I create a Sharepoint 2013 App solution and select provider hosted app it automatically created a ProviderHostedAppWeb which holds the Default.aspx page and .cs file. The URL for this project ishttp://localhost:16597 and another localhost URL for SSL.
How do I host this application on another server and point the ProviderHostedApp project at it? The URLs for the ProviderHostedAppWeb project are greyed out and can't be edited. I'd like to deploy the ProviderHostedApp part to Sharepoint and have the serverside code sitting on another server.
I can call webservices from this app so that way the code for those webservices can sit on a different server.
Does the ProviderHostedApp component always have to run on localhost? How do I access this app from a mobile phone?
I guess I'm just not clear on how the provider hosted model works