Reputation: 4492
I have created a ILB in a VNET inside of Azure.
And I created an App Service Plan of that ASE (ILB) like below:
And I have hosted an App inside of the ILB. like below
To access the domain, I have created a Virtual machine inside of the VNET and added a host entry inside of that VM.
192.168.251.11 bb-pg-backend.bb-pg-ase2-app
So, when I hit the above URL (http://bb-pg-backend.bb-pg-ase2-app) I can see the below page.
Now from inside of the VM, I want to publish my code to the app service. I can create the profile successfully.
The error it is showing is
Should it not automatically do the bonding with Azure ASE (ILB) and publish the code to the app service?
Upvotes: 2
Views: 581
Reputation: 4492
When I downloaded the publish profile from Azure, I found the below URLs.
publishUrl="bb-pg-backend.scm.bb-pg-ase2-app:443"
So, I added a new host entry with scm word
192.168.251.11 bb-pg-backend.scm.bb-pg-ase2-app
Then I could successfully deploy from Visual Studio. An empty web api application with Values Controller would return data like below.
That's all. Thanks.
Upvotes: 1