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.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Hidden Files

Hidden file and folder names start with a...

How to Whitelist Your IP in cPanel for Remote MySQL Access

This tutorial will show you how to whitelist your IP to allow remote MySQL connections for...

Incorrect diskspace and information in cPanel

Your cPanel keeps disk space usage for your entire account, email accounts, databases, and other...

What is a favicon?

The favicon is the favorite icon, used in your browser favorites and bookmarks. You can also see...

What is the difference between parked, addon, and subdomains?

A subdomain is a second website, with its own unique content, but there is no new...