Posted on 2010-01-11
Medium Priority
Last Modified: 2012-05-08
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:
Type the following command, where x is your site identifier:
cscript adsutil.vbs set w3svc/x/UseHostName true
Question by:NAMEWITHELD12
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 21

Expert Comment

ID: 26287218

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

Faraz H. Khan
LVL 13

Expert Comment

ID: 26287231
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
LVL 21

Expert Comment

ID: 26287237

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

Faraz H. Khan
LVL 15

Accepted Solution

Tray896 earned 2000 total points
ID: 26287791
The easiest way to find your site ID is top open Inet Manager.  Start-->run-->inetmgr.  Then click on the button for Websites (IIS 6) or Sites (IIS 7).  Here is a screenshot of this view showing the site ID on an IIS 7 server.


Author Closing Comment

ID: 31675724
awesome answer with the  graffic!!

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a fairly complicated script that will install the required prerequisites to install SCCM 2012 R2 on a server.  It was designed under the functional model in order to compartmentalize each step required, reducing the overall complexity.  The …
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question