Azure Web App missing Virtual Directory Option

Steven W 1 Reputation point
2021-12-15T10:26:56.327+00:00

I've been trying to add a virtual directory to my Azure Web App.

Just like this post from 2 years ago (https://social.msdn.microsoft.com/Forums/azure/en-US/0cbdbd8e-2112-4c7b-8871-7a907bf1de37/how-can-i-create-a-virtual-directory-with-azure-app-service) I seem to missing the option but can't work out why?

I've gone to the web app, click on the Configuration blade then clicked on the Path Mapping tab.
There is an option for it.

Any idea's what I am missing?

157884-no-virtual-directory-option.png

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
768 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,931 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jaliya Udagedara 2,836 Reputation points MVP Volunteer Moderator
    2021-12-15T20:06:41.79+00:00

    Virtual Applications and Directories option is not available with App Services on Linux.

    0 comments No comments

  2. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2021-12-16T06:31:56.363+00:00

    Thanks for asking question! As said by @Jaliya Udagedara Configuration of virtual directories on Linux App Service is different as it is on Windows App Service.

    You can do this is to containerize your application with the settings you want, or fork one of our existing built-in containers.

    As its mentioned in the document here that you can add custom storage for your containerized app. Containerized apps include all Linux apps and also the Windows and Linux custom containers running on App Service.

    Further you may refer to this article if you want to map multi-domains for multi-sites in single Linux Web App

    Let us know if further query or issue remains.


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.