Virtual directories allow you to run multiple web applications on a single domain. It is similar to subdomains. In virtual directories, the directory is accessed using the folder path instead of the subdomain name. A virtual directory in Plesk is a link to an existing physical directory. It’s present on the server’s hard disk. Virtual directories consist of specific settings like custom ASP.NET configuration, access permissions, and URL password protection. Virtual directories are very useful in setting up your web applications, especially those written in ASP.NET. Virtual directories can also be used as aliases. The following command is used to creates a virtual directory with a specified name relative to the domain root directory,
Command:
virtdir.exe –create /vd1 -vhost example.com
or
virtdir.exe -c /vd1 -vhost example.com