Link to home
Start Free TrialLog in
Avatar of NAMEWITHELD12
NAMEWITHELD12Flag for United States of America

asked on

what is "SITE IDENTIFIER" ?

I am trying to do this and I am getting confused , what is the site idetifier they are talking about ?

Option 1: Set the UseHostName property
To set the UseHostName property, follow these steps:
Click Start, click Run, type cmd, and then click OK to open a command prompt.
Change to the folder where the Adsutil.vbs tool is located. By default, this folder is the following:
%SYSTEMROOT%\Inetpub\AdminScripts
Type the following command, where x is your site identifier:
cscript adsutil.vbs set w3svc/x/UseHostName true
Avatar of farazhkhan
farazhkhan
Flag of Pakistan image

Hi,

It is the website ID. In IIS Manager, you can see it if you click on the you the identifier.


Regards,
Faraz H. Khan
Every website on a server has a unique ID, otherwise known as the site identifier.  Where IIS stores all its information in the metabase, this is what seperates each website (as apposed to using the website name)

To find out what the site identifier is for your website, in the IIS management console, right click your website and select properties.  On the website tab, select properties button for logging.  Click the extended properties tab, and at the bottom you will see something like WSVC10\exyymmdd.log.

In this case, the site identifier would be 10.  Your script would then look like:
cscript adsutil.vbs set w3svc/10/UseHostName true
Hi,

This is very good for details: http://blog.crowe.co.nz/archive/2007/08/04/IIS-Web-Site-Identifiers.aspx

Regards,
Faraz H. Khan
ASKER CERTIFIED SOLUTION
Avatar of Tray896
Tray896
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NAMEWITHELD12

ASKER

awesome answer with the  graffic!!