Multiple Web Site Registry Settings (Compact 2013)
3/26/2014
Each Web site is its own subkey under HKEY_LOCAL_MACHINE\COMM\HTTPD\Websites. Each Web site contains most, but not all, of the configuration options that the Web Server base registry key HKEY_LOCAL_MACHINE\COMM\HTTPD specifies. The following table shows the registry values used to restrict requests that a Web site will accept.
Value : type |
Description |
---|---|
NetworkInterfaces : String |
Specifies a set of network interface names, separated by semicolons, which identify the adapter interfaces from which to receive requests. The key similarities supported are the use of For example, setting this value to |
AllowDefaultSite : REG_DWORD |
Default setting is 1. (Default Web site only). If this value is zero, then any request that is not mapped to a non-default Web site will be rejected. |
HostedSites : String |
Specifies a set of host names, separated by semicolons, that contains the host names that should be mapped to this site. The key similarities supported are the use of |
Note
For all non-default Web sites, both HostedSites and NetworkInterfaces may be set; however, at least one of these two registry values must be set. If neither of these values is set, the Web Server will never map requests to the given Web site. If only one of these values is not set, it will default to *
, thereby allowing access to all hosted sites or all network interfaces.