title: Node application on Azure Web App / Virtual Directory is not shown
body: <p>I have already found an article, but none that matches the current Azure Web App configuration option. I guess something has changed in the new version. I am trying to host an Node application via Azure Web App with Linux App Service Plan.</p>
  <p>My problem is, my content of the node application is not displayed. Only the Azure Startup page is displayed. I guess the content can't be found which is completely present in <strong>site/wwwroot</strong>. Therefore I wanted to configure the virtual directory. This option is no longer visible in my Azure Portal?</p>
  <p><a href="https://i.stack.imgur.com/hdZr9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hdZr9.png" alt="enter image description here" /></a></p>
  <p>Then I automated my deployment via Azure ARM Templates and added my virtual directory there. The deployment runs without problems. The configuration is also visible in the template generated via the Azure Portal, but cannot be seen in the screenshot above.</p>
  <pre><code>        {
          &quot;type&quot;: &quot;Microsoft.Web/sites&quot;,
          &quot;apiVersion&quot;: &quot;2018-11-01&quot;,
          &quot;name&quot;: &quot;[parameters('sites__name')]&quot;,
          &quot;location&quot;: &quot;West Europe&quot;,
          &quot;dependsOn&quot;: [
              &quot;[resourceId('Microsoft.Web/serverfarms', parameters('serverfarms_asp_name'))]&quot;
          ],
          &quot;kind&quot;: &quot;app,linux&quot;,
          &quot;properties&quot;: {
              &quot;enabled&quot;: true,
              &quot;hostNameSslStates&quot;: [
                  {
                      &quot;name&quot;: &quot;[concat(parameters('sites_name'), '.azurewebsites.net')]&quot;,
                      &quot;sslState&quot;: &quot;Disabled&quot;,
                      &quot;hostType&quot;: &quot;Standard&quot;
                  },
                  {
                      &quot;name&quot;: &quot;[concat(parameters('sites_name'), '.scm.azurewebsites.net')]&quot;,
                      &quot;sslState&quot;: &quot;Disabled&quot;,
                      &quot;hostType&quot;: &quot;Repository&quot;
                  }
              ],
              &quot;serverFarmId&quot;: &quot;[resourceId('Microsoft.Web/serverfarms', parameters('serverfarms_asp_name'))]&quot;,
              &quot;reserved&quot;: true,
              &quot;isXenon&quot;: false,
              &quot;hyperV&quot;: false,
              &quot;siteConfig&quot;: {},
              &quot;scmSiteAlsoStopped&quot;: false,
              &quot;clientAffinityEnabled&quot;: true,
              &quot;clientCertEnabled&quot;: false,
              &quot;hostNamesDisabled&quot;: false,
              &quot;containerSize&quot;: 0,
              &quot;dailyMemoryTimeQuota&quot;: 0,
              &quot;httpsOnly&quot;: true,
              &quot;redundancyMode&quot;: &quot;None&quot;
          }
      },
      {
          &quot;type&quot;: &quot;Microsoft.Web/sites/config&quot;,
          &quot;apiVersion&quot;: &quot;2018-11-01&quot;,
          &quot;name&quot;: &quot;[concat(parameters('sites_name'), '/web')]&quot;,
          &quot;location&quot;: &quot;West Europe&quot;,
          &quot;dependsOn&quot;: [
              &quot;[resourceId('Microsoft.Web/sites', parameters('sites_name'))]&quot;
          ],
          &quot;properties&quot;: {
              &quot;numberOfWorkers&quot;: 1,
              &quot;defaultDocuments&quot;: [
                  &quot;Default.htm&quot;,
                  &quot;Default.html&quot;,
                  &quot;Default.asp&quot;,
                  &quot;index.htm&quot;,
                  &quot;index.html&quot;,
                  &quot;iisstart.htm&quot;,
                  &quot;default.aspx&quot;,
                  &quot;index.php&quot;,
                  &quot;hostingstart.html&quot;
              ],
              &quot;netFrameworkVersion&quot;: &quot;v4.0&quot;,
              &quot;linuxFxVersion&quot;: &quot;NODE|12-lts&quot;,
              &quot;requestTracingEnabled&quot;: false,
              &quot;remoteDebuggingEnabled&quot;: false,
              &quot;remoteDebuggingVersion&quot;: &quot;VS2019&quot;,
              &quot;httpLoggingEnabled&quot;: false,
              &quot;logsDirectorySizeLimit&quot;: 35,
              &quot;detailedErrorLoggingEnabled&quot;: false,
              &quot;publishingUsername&quot;: &quot;$myuser&quot;,
              &quot;scmType&quot;: &quot;VSTSRM&quot;,
              &quot;use32BitWorkerProcess&quot;: true,
              &quot;webSocketsEnabled&quot;: false,
              &quot;alwaysOn&quot;: false,
              &quot;managedPipelineMode&quot;: &quot;Integrated&quot;,
              &quot;virtualApplications&quot;: [
                  {
                      &quot;virtualPath&quot;: &quot;/&quot;,
                      &quot;physicalPath&quot;: &quot;site\\wwwroot&quot;,
                      &quot;preloadEnabled&quot;: false
                  }
              ],
              &quot;loadBalancing&quot;: &quot;LeastRequests&quot;,
              &quot;experiments&quot;: {
                  &quot;rampUpRules&quot;: []
              },
              &quot;autoHealEnabled&quot;: false,
              &quot;localMySqlEnabled&quot;: false,
              &quot;ipSecurityRestrictions&quot;: [
                  {
                      &quot;ipAddress&quot;: &quot;Any&quot;,
                      &quot;action&quot;: &quot;Allow&quot;,
                      &quot;priority&quot;: 1,
                      &quot;name&quot;: &quot;Allow all&quot;,
                      &quot;description&quot;: &quot;Allow all access&quot;
                  }
              ],
              &quot;scmIpSecurityRestrictions&quot;: [
                  {
                      &quot;ipAddress&quot;: &quot;Any&quot;,
                      &quot;action&quot;: &quot;Allow&quot;,
                      &quot;priority&quot;: 1,
                      &quot;name&quot;: &quot;Allow all&quot;,
                      &quot;description&quot;: &quot;Allow all access&quot;
                  }
              ],
              &quot;scmIpSecurityRestrictionsUseMain&quot;: false,
              &quot;http20Enabled&quot;: false,
              &quot;minTlsVersion&quot;: &quot;1.2&quot;,
              &quot;ftpsState&quot;: &quot;AllAllowed&quot;,
              &quot;reservedInstanceCount&quot;: 0
          }
      },
  </code></pre>
  <p>I checked the Azure Web App via Kudu, the files like index.html are present in <strong>site/wwwroot</strong>.
  The Azure Web App has as base directory <strong>/home</strong>, inside is <strong>site/wwwroot</strong>. How can I configure the Virtual Directory? Where is my fault?</p>
  <p>Thanks a lot.</p>