Create a Virtual Directory
In most cases, the content you publish to your Web site is located in a home directory on your computer, such as C:\Inetpub\Wwwroot\. However, there might be instances when the content is located in another directory, or even on a remote computer.
To be able to publish content from any directory not contained within your home directory, you must create a virtual directory. A virtual directory is a directory that is not contained in the home directory but appears to client browsers as though it were. You can create a virtual directory by using IIS Manager or by using Windows Explorer.
Requirements
Credentials: Membership in the Administrators group on the local computer.
Tools: Iis.msc.
Recommendation
As a security best practice, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access