Directory Listing Denied, This Virtual Directory does not allow contents to be listed

Are you seeing this error message when trying to view your site?

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

You have probably set your site to "No Indexing". This will cause a 403 error if their is no default index page to load.

There are several solutions to this problem.

  • You can disable "No Indexing" by changing the setting in cPanel's Index Manager. Set the root folder of your domain to "Default System Setting".
  • You may simply need to rename your home page file on your site to "index.html" or "index.php". That is the normal name of the index page which your site expects.
  • If you don't want to change your site design, you can tell your site the name of your home page (maybe it's home.html instead of index.html). This is accomplished by setting the Directory Index code in your .htaccess file.