UseHostName
This property specifies whether the server returns its DNS host name (the computer name, by default) when doing redirects. If the value of this property is FALSE, then the host's IP address is returned instead of a host name.
Note
If the client sends the host header, the server will use the value specified in the host header for the UseHostName property, regardless of the server's own internal setting.
Schema Attributes
Attribute Name |
Value |
---|---|
BOOL |
|
DWORD_METADATA |
|
FALSE |
|
null |
|
Not specified |
|
Not specified |
|
2066 |
|
MD_USE_HOST_NAME |
|
INHERIT |
|
IIS_MD_UT_SERVER |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path |
IIS Admin Object Type |
---|---|
/LM/W3SVC |
IIsWebService |
/LM/W3SVC/n |
IIsWebServer |
Flags
There are no flags for this property.
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS