Previous page | Next page | Locate page |

#### Creating Virtual Directories

To create a new virtual directory on a domain:

1. Click the Domains shortcut in the navigation pane.
2. Click the required domain name in the list.
3. Click Web Directories in the Hosting group. You are in your web site root now.
4. Navigate to the directory in which you want to create a new virtual directory.
5. Click Add New Virtual Directory.

   Note. To create a physical directory instead of virtual directory, click Add New Directory, specify the name of the directory and click OK.

6. Specify the required parameters:
   - Name - specify the virtual directory name.
   - Path - specify the virtual directory path:
     - Select the Create physical directory with the same name as virtual directory checkbox to automatically create a physical directory with the same name as the virtual directory you are creating.
     - Clear the Create physical directory with the same name as virtual directory checkbox and specify the path in the field to select the physical directory that already exists.
   - Script source access - select this checkbox to allow users to access source code if either Read or Write permissions are set. Source code includes scripts in ASP applications.
   - Read permission - select this checkbox to allow users to read files or directories and their associated properties.
   - Write permission - select this checkbox to allow users to upload files and their associated properties to the virtual directory or to change content in a write-enabled file. Write access is allowed only if browser supports the PUT feature of the HTTP 1.1 protocol.
   - Directory browsing - select this checkbox to allow users to see a hypertext listing of the files and subdirectories in the virtual directory.
   - Log visits - select this checkbox if you want to store the information about visits of the virtual directory.
   - Create application - select this checkbox to make the web directory an IIS Application. The directory becomes logically independent from the rest of the web-site.
   - Execute permissions - select the appropriate program execution level allowed for the virtual directory.
     - None - allow access only to static files such as HTML or image files.
     - Scripts only - allow running scripts only, not executables.
     - Scripts and Executables - remove all restrictions so that all file types can be executed.
   - ASP Settings - set specific settings for ASP-based web applications.
     - If you are using ASP-based applications that cannot operate correctly under data transfer restrictions currently set by IIS, deselect the Defined by parent directory check box corresponding to the field you want to change and type in the required number.
     - If you want to enable debugging of ASP applications on the server side, deselect the corresponding Defined by parent directory check box and select the Enable ASP server-side script debugging check box.
     - If you want to enable debugging of ASP applications on the client side, deselect the corresponding Defined by parent directory check box and select the Enable ASP client-side script debugging check box.

     Note that if you are trying to change ASP Settings for the root web directory, the default check box names will be Defined by IIS.instead of Defined by parent directory.

7. Click OK to complete the creation.

To set access permissions for a virtual directory:

1. Click the Domains shortcut in the navigation pane.
2. Click the required domain name in the list.
3. Click Web Directories.
4. Click the icon corresponding to the directory you wish to open, and set the access permissions for this directory and all its files.

   Refer to the Setting File and Folder Access Permissions section for more information on setting access permissions.

To configure ASP.NET for a virtual directory:

1. Click the Domains shortcut in the navigation pane.
2. Click the required domain name in the list.
3. Click Web Directories.
4. Browse to the required directory and enter it.
5. Click ASP.NET and set the options accordingly.

   Refer to the Configuring ASP.NET for Virtual Directories section for more information on configuring ASP.NET