Return to

Prev Next

This prefix is added after the host name definition and is used to resolve sites according to incoming URLs. This is the second attribute, along with the hostName, which is used to define a unique site.

For example:


The website that is defined above must match the following URL:

Default value: “/”.

To configure a website with a virtual folder:

  1. Define in the hosts file.
  2. Set both the virtualFolder and physicalFolder attributes to the same value (you don’t need to create a physical folder and place the default.html in it).
    For example, to configure, you need to have the following site definition in web.config:
    <site name="website" virtualFolder="/test" physicalFolder="/test" >

Prev Next