
Make an Existing Virtual Directory a Web Application
You can also create an application root directory from an existing directory in Inetpub\Wwwroot. All physical directories under Inetpub\Wwwroot are treated as virtual directories by IIS, but they are not considered applications until the following procedure is used.
To mark an existing virtual directory in Inetpub\Wwwroot as a Web application using IIS
Open IIS Manager and browse to the Default Web Site as shown in the previous procedures.
Expand the Default Web Site node and look for the subdirectory that you want to designate as an application root. For this example, this is exampleWebApp.
If IIS Manager was already open when you created the physical directory, you might have to click the Refresh button in IIS Manager to view your new exampleWebApp subdirectory.
Right-click the directory that you want to mark as an application root, and then click Properties.
On the Directory tab, in the Application Settings section, click Create.
In the Application name text box, type the name of the application, and then click OK.
The virtual directory is now an application root.