Solved

IIS7 - Displaying websites

Posted on 2012-04-06
6
310 Views
Last Modified: 2012-04-12
I have a web server.  I added two website to it.  The issue I have is that I can see the directories as well as the websites.  Example below:

mywebsite.com
-  Website1
-  Directory for Website 1
-  Direcotry for Webiste 2
-  Website 2

I do not want to see "Directory for Website1" or "Directory for Website 2" displayed.  I have mywebsite.com pointing to:  "C:\websites\mywebsite.com".

Directory browsing is disabled.  The issue is that the websites that I am putting under:

C:\websites\myorders.net

are displaying in my IIS7 -> myoders.net.  I only want to see the websites listed not any the application folders.  (The application folders are the ASP.NET websites but don't want to see them just the Applications)

I've attached a snapshot.  I don't want those 2 dirs displayed in IIS7 which is diff than directory browsing I believe.
0
Comment
Question by:CipherIS
  • 2
  • 2
  • 2
6 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 333 total points
ID: 37818307
after disabling directory browsing... restart iis
iisreset
0
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 333 total points
ID: 37818309
you can even try to uninstall the feature of Directory Browsing.

http://www.iis.net/ConfigReference/system.webServer/directoryBrowse
0
 
LVL 5

Expert Comment

by:kollenh
ID: 37824778
I don't see your attached snapshot but if I'm following what you're saying, you see those directories listed under the IIS 7 management console.  Yeah, you will; there isn't a way to turn that off.  That doesn't mean, however, that the directories are visible or accessible externally.  You see it in the management console because it is showing you the physical directory structure.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Author Comment

by:CipherIS
ID: 37830791
it is accessible which raised the issue.
0
 
LVL 5

Accepted Solution

by:
kollenh earned 167 total points
ID: 37833235
So from a client computer, you can browse to 'http://your-website/directory-name' and see the contents?  If so Directory Browsing *must* be enabled.  Double check it's disabled for the site and then also make sure the web.config isn't overriding the server.  Or do as Anuroopsundd suggested and uninstall the feature.

If it's completely disabled and you're sure the directory can be accessed via URL from another computer, I suggest opening a case with Microsoft as that shouldn't be possible.  I'm only doubting because I saw the screenshot in a different post and that was from IIS Manager; as I stated, it *will* be visible there and doesn't have anything to do with Directory Browsing or being externally accessible.

HTH
0
 
LVL 1

Author Closing Comment

by:CipherIS
ID: 37838412
Prob is not resolved.  Closing question.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

809 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