When a visitor accesses a directory (rather than a page) on your web site, the browser typically displays the directory's index page. If no index page exists, the browser displays a list of the files in that directory. Use the Indexes interface to define how the server displays a specific directory's index to a visitor, or to disable index display for a directory.

Manage a directory's index

To configure your directory settings

  1. In the Directory Selection window, select one of the following locations in which to begin navigation:
    • Web Root — Begin navigation in the document root for the account's primary domain.
    • Document Root for — Select the domain that corresponds to the document root in which you wish to begin navigation.
  2. Navigate to the desired folder with the following:
    • To navigate into a folder, click the folder icon ().
    • To navigate up one level of the directory tree, click Up One Level at the top of the list of directory contents.
    • To select a directory, click that directory's name.
  3. Select one of the following options:
    • Default System Setting — cPanel uses the default that your hosting provider defines.
    • No Indexing — The server does not list the contents of the directory. Browsers display a message that states that the contents are forbidden.
    • Standard Indexing — The server lists the directory's contents as filenames only.
    • Fancy Indexing — The server lists file names and additional information, such as file size and time last modified.
  4. Click Save.
  • files, cpanel, uidoc, cpadvanced
  • 36 Users Found This Useful
Was this answer helpful?

Related Articles

Cron Jobs

Overview Cron jobs are scheduled tasks that the system runs at predefined times or...

Track DNS

Overview This interface contains tools to help you retrieve network information. For example,...

Error Pages

Overview Error pages inform visitors about problems when they attempt to access your site. Each...

Apache Handlers

Overview Apache handlers control how your site’s Apache web server software manages certain file...

MIME Types

Overview MIME types relay information to the browser about how to handle file extensions. MIME...