How to identify the web site with the IIS instance name
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > How to identify the web site with the IIS instance name




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to identify the web site with the IIS instance name  
Mike


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-27-04 04:34 AM

In my logging,
How can i determine what web site the log applies to when
all I have is the instance name ?

For example, if the Instance name is W3SVC15, how do I
know which web site this applies to ?

tia,
Mike





[ Post a follow-up to this message ]



    Re: How to identify the web site with the IIS instance name  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-27-04 04:34 AM

What version of IIS are you running?

Do you want to get this information using script/code? or just visually?

Cheers
Ken


"Mike" <mjackson@jacksonkey.net> wrote in message
news:539901c3e4d0$4f52c1e0$a601280a@phx.gbl...
: In my logging,
: How can i determine what web site the log applies to when
: all I have is the instance name ?
:
: For example, if the Instance name is W3SVC15, how do I
: know which web site this applies to ?
:
: tia,
: Mike







[ Post a follow-up to this message ]



    RE: How to identify the web site with the IIS instance name  
Wei-Dong Xu [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-27-04 08:34 PM

Hi Mike,

Thanks for posting in the community!

From my understanding, you are going to know which site the logfile name
applies for.

The logfile name is composed of two parts: constant string "W3SVC" +
SiteID. For example, the W3SVC15 is the logfile to the web site whose site
id is 15. For the site ID and web site, I'd suggest you can use the script
file from IISFAQ.com to list all the website with the corresponding site
ID.
How can I get a simple listing of the web sites on my Web Server?
http://www.iisfaq.com/default.aspx?View=A120&P=109

You can create one empty vbs file and copy-paste the script code from the
link above, then type "cscript <filename>.vbs"(without quotation) in the
console window. All the website with its site id will be listed for you.

Please feel free to let me know if you have any further questions. I am
standing by to be of assistance.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:04 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register