Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to see all the websites in IIS 7.5.

I typed

appcmd list site 

It lists only “Default Website”. It is typed from C:Windows\System32\inetsrv. Any idea why it does not list other sites that are under default website?

Note: Even when I type it from C:Windows\syswow64\inetsrv. It is showing the same result.

share|improve this question
    
Which IIS version are you running: 6 or 7? –  quanta Nov 10 '11 at 7:28
    
I am using IIS 7.5 –  Lijo Nov 10 '11 at 7:33

2 Answers 2

up vote 1 down vote accepted

In IIS land, "Websites" can't exist under other websites. So it sounds like from IIS' perspective, you have only one website configured.

IMO, that's a bad idea - you should use a website per, well, website, if that's what you're intending.

If you're referring to web applications or virtual directories, APPCMD LIST APP or APPCMD LIST VDIR might be more what you're interested in.

share|improve this answer
    
Thanks. APPCMD LIST APP is what I am looking for. –  Lijo Nov 10 '11 at 11:38

For other people still having trouble, I had the same symptom, but this answer didn't help. APPCMD LIST still gave me incorrect info. Your solution might be the same as mine: after a while, I realized that I was mistakenly looking at my workstation's CMD prompt, when I thought I was looking at the server I had remoted into.

share|improve this answer
    
Although, I guess that could apply to just about any technical scenario and is unrelated to the particular question at hand. ;) –  David Mar 10 '12 at 1:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.