JSI Tip 4297. How do I create a virtual directory on an existing Web site in a Windows 2000 environment?

This article describes step-by-step how to create a virtual directory on an existing Web site in a Windows 2000 environment.

A virtual directory is a directory that is not contained within the Web site's home directory, but appears to client browsers as though it were. A virtual directory has an alias that is mapped to the physical location of the Web content. A client appends the alias to the URL of the Web site in order to browse the Web content in that virtual directory. The following table illustrates these mappings:

Physical Location

Alias

URL Path

C:\WWWroot

home directory (none)

http://Sales

\\Server2 \SalesData\ProdCustomers

Customers

http://Sales/Customers

C:\WWWroot\Quotes

none

http://Sales/Quotes

C:\WWWroot\OrderStatus

none

http://Sales/OrderStatus

D:\Marketing\PR

PR

http://Sales/PR

Both virtual directories and physical directories (directories without an alias) are listed in Internet Services Manager. A virtual directory is indicated by a folder icon with a globe in the corner.

Azure Master Class

Every organization is currently evaluating how they can utilize the public cloud, what it means, and how to actually get started. This 12 session Master Class will equip you with everything you need to understand, evaluate, deploy and maintain environments that utilize Microsoft Azure including hybrid scenarios.