When I visit my website or subdomain I get a message saying "Directory Listing Denied"

General Support > Error Messages
This is a legitimate message from IIS which means that the web site is actually working - so that is a good thing!

The most likely cause of this error is that IIS can't find a default document to display.  There are two things you should check.

  1. Have you loaded any files to the web site?  If you haven't this is most likely going to be the problem
  2. IIS doesn't recognize the default document or can't find one.

The "default document" for a web site (or subdomain, or directory) is the file that is displayed when no filename is requested.  For example, when someone types your domain (http://www.youdomain.com) they haven't specified what file they want to view, so IIS will display the default document if one is specified within IIS.

If you have loaded files to your web site or subdomain, you need to make sure that IIS knows what file (or files) are to be considered as "default" documents.


To check/fix this....

  1. go to the appropriate domain within the Control Panel
  2. Click on the "Web Site Settings" icon
  3. When the page opens up, you will see a box called "Default Docs:"
  4. Add the appropriate default document in there e.g. index.htm, or index.html, or default.htm.  You can add as many as you like.

The order of this list is important... 

Documents higher up the list have priority over documents lower in the list. 

This means that if you have index.htm and index.asp listed as your default documents, and both these files exist in the same directroy, the web site will display the file that is listed first.

Documents higher up the list have priority over documents lower in the list.  This means that if you have index.htm and index.asp listed as your default documents, and both these files exist in the same directroy, the web site will display the file that is listed first.