Previous page | Next page | Locate page |

### Creating Virtual Directories

To create a new virtual directory on a domain:

1. On your home page, click the domain name you need.
2. Click Web Directories in the Hosting group. You are in your web site root now.
3. Navigate to the directory in which you want to create a new virtual directory.
4. Click Create Virtual Directory.

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

5. 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 check box 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 check box and specify the path in the field to select the physical directory that already exists.
   - Script source access - select this check box 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 check box to allow users to read files or directories and their associated properties.
   - Write permission - select this check box 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 check box to allow users to see a hypertext listing of the files and subdirectories in the virtual directory.
   - Log visits - select this check box if you want to store the information about visits of the virtual directory.
   - Create application - select this check box 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, clear 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, clear 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, clear 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.

6. Click OK to complete the creation.

To set access permissions for a virtual directory:

1. Click the required domain name on your Home page.
2. Click Web Directories.
3. 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 required domain name on your Home page,
2. Click Web Directories.
3. Browse to the required directory and enter it.
4. Click ASP.NET Settings and set the options accordingly.

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