Option 1: Set the UseHostName property
To set the UseHostName property, follow these steps:
1. Click Start, click Run, type cmd, and then click OK to open a command prompt.
2. Change to the folder where the Adsutil.vbs tool is located. By default, this folder is the following:
%SYSTEMROOT%\Inetpub\AdminScripts
3. Type the following command, where x is your site identifier:
cscript adsutil.vbs set w3svc/x/UseHostName true
Option 2: Set the SetHostName property
To set the SetHostName property, follow these steps:
1. Click Start, click Run, type cmd, and then click OK to open a command prompt.
2. Change to the folder where the Adsutil.vbs tool is located. By default, this folder is the following:
%SYSTEMROOT%\Inetpub\AdminScripts
3. Type the following command, where x is your site identifier and hostname is the alternate host name that you want to use:
cscript adsutil.vbs set w3svc/x/SetHostName hostname
From: http://support.microsoft.com/kb/834141/

0 comments:
Post a Comment