Search code examples
ftpfilezilla

Directory Listing Denied - FileZilla


I have a website template that I uploaded to my ftp server using FileZilla. However when I visit the domain I get the error:

Directory Listing Denied

This Virtual Directory does not allow contents to be listed.

in the console it displays a 403 forbidden error. After researching I recognize that the default web page inside the root directory is not set. All my attempts to set the default page have failed. Here is what I tried:

1) Logged into ftp server with FileZilla. Clicked File > Site Manager > Advanced and set the root directory. The root directory contains a file that says index.html

2) Created a .htaccess file in the root that contains the text "DirectoryIndex index.html"

Solutions involving IIS are welcomed as well.

Any advice on how I can get this fixed?


Solution

  • Unfortunately I did not have permissions to access the actual server files so I contacted the hosting company.

    They resolved my issue I believe using the approach @alvits recommended, however they have not returned my request to confirm how they solved it.

    Thanks for the support