Directory listing

Categories Web HostingFile Management

When a request is made to a URL that points to a directory instead of an actual file within a directory, web servers will typically serve a default index page such as an index.html or index.php file. If this file doesn't exist on the server or the server is not configured to display this file, a list of all the files and directories located inside the current directory may be displayed. 

If users wish to disable this listing and hide their file structure (recommended), they may disable directory listing on their account. When directory listing is disabled, an error message will appear instead of the list of files and directories on the server. The error message will simply advise the visitor that they do not have permissions to view the current directory.

Enable/disable directory listing on Cloud Hosting

By default, directory listing is disabled on our Cloud Hosting plans. Follow the instructions below to enable or disable directory listing on your Cloud Hosting account.

Note: This feature is only available on Zeus

  1. Log into your Account
  2. Click to manage the domain you want to make changes to
  3. Click Cloud Hosting
  4. Locate the Directory Listing row
  5. Select the Enabled or Disabled radio option
  6. Click [Change]

The changes may take several minutes to show.

Enable/disable directory listing on cPanel Hosting

By default, directory listing is enabled on our cPanel Hosting plans. Follow the instructions below to enable or disable directory listing on your cPanel Hosting account.

  1. Log into your Account
  2. Click to manage the domain you want to make changes to
  3. Click cPanel
  4. Click on the Index Manager icon
  5. Select the directory you wish to configure and click [Go]
  6. Select the type of directory listing you wish to use (No Indexing is recommended)
  7. Click [Save]
The changes may take several minutes to show.

Rate this article