David
Fri Aug 26 06:15:44 CDT 2005
It will be the website which has no host header defined, and in its property
page you can where the root directory points in the physical filesystem.
You can use the following script code from my blog entry to enumerate all
websites and their bindings for a given server (which you have admin access
to, of course). You should be able to quickly locate the binding that
represents "no host header" and from there, back to the Site ID and Comment
(which is what shows up in the IIS Manager UI). Of course, it would also be
trivial to modify the script to report on the physical directory of the root
of the website, but I leave the exercise to the reader.
http://blogs.msdn.com/david.wang/archive/2005/07/13/HOWTO_Enumerate_IIS_Website_Configuration.aspx
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Bill Heckle" <billheckle.spam@hotmail.com> wrote in message
news:84E7BAC4-86C9-4856-9809-F7B99C492A15@microsoft.com...
I had checked all the host headers. If it has no host header defined, where
do I find information on the default directory used by iis for the site?
Thanks,
Bill
"Ken Schaefer" wrote:
> Yes absolutely. I made the assumption you'd checked the host-headers for
all
> the sites. If you've just checked the names of the sites listed in IIS
> Manager, then that's not enough. You need to do what Kristofer has
> suggested:
>
> Right-click on each website -> properties -> website tab -> advanced
button
>
> Cheers
> Ken
>
> --
> IIS Blog: www.adopenstatic.com/cs/blogs/ken/
> Web: www.adopenstatic.com
>
>
> "Kristofer Gafvert [MVP]" <kgafvert@NEWSilopia.com> wrote in message
> news:xn0e6g5dihvsn3f004@news.microsoft.com...
> : In addition to Ken's answer. Perhaps the website is named something
else?
> : Have you checked the host header names for all websites?
> :
> :
> : --
> : Regards,
> : Kristofer Gafvert (IIS MVP)
> :
http://www.gafvert.info/iis/ - IIS Related Info
> :
> :
> : Bill Heckle wrote:
> :
> : >I have inherited a web site and am trying to figure it out. The site
> : >www.foo.com is not listed in the web sites in iis. However, it is on
the
> : >server. When I look at other web sites for example foo.com which is a
web
> : >site in iis, it is redirected to www.foo.com. Somewhere in iis
> www.foo.com
> : >is defined and described. Where should I look?
> : >
> : >Thanks Bill
>
>
>