Cannot reach apps inside a App Service Environment

Erick V 1 Reputation point
2022-11-15T22:31:19.04+00:00

I am currently working on an internal application deployment, we don't want to have public internet access and we are managing all inside a Virtual Network. Inside the Virtual network we got a subnet for the ASE.
260549-image.png

We deployed an Internal App Service Environment V3. Inside the ASE, I got a i1v2 app service plan which host a single sample application provided by Azure. The issue is that when I try to browse into the site, it returns a 'This site can’t be reached', even when I try from a VM inside the VNET.
260701-image.png

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
237 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,902 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 26,636 Reputation points Microsoft Employee
    2022-11-17T22:25:53.523+00:00

    Just to highlight, after your app integrates with your virtual network, it uses the same DNS server that your virtual network is configured with. If no custom DNS is specified, it uses Azure default DNS and any private zones linked to the virtual network.

    Kindly check, adding the following app settings helps:

    WEBSITE_DNS_SERVER with value 168.63.129.16
    WEBSITE_VNET_ROUTE_ALL with value 1

    These settings will send all of your outbound calls from your app into your Vnet in addition to enabling your app to use Azure DNS private zones.

    #azure-dns-private-zones -“The feature can't be used by Isolated plan apps that are in an App Service Environment."

    Also, after your app integrates with your virtual network, it uses the same DNS server that your virtual network is configured with.
    If no custom DNS is specified, it uses Azure default DNS and any private zones linked to the virtual network.

    Kindly see this doc DNS configuration for more info.

    Please let us know, I'll follow-up with you further.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.