Updated: 28 September 2026 · Applies to: cPanel & WHM 138 (Jupiter theme)

If a folder has no index.html or index.php, the web server may show a list of its files. Turn this off so visitors cannot browse your folders.

Steps

  1. Log in to cPanel (for example at https://yourdomain.com:2083, or from the Ucartz client area).
  2. Open Advanced › Indexes (called Index Manager in older versions).
  3. Click the folder name to open it, or click Edit next to the folder you want to change. Setting it on public_html covers the whole website.
  4. Choose No Indexing.
  5. Click Save.

The other options are Default System Setting, Show Filename Only and Show Filename and Description. cPanel stores your choice in the folder's .htaccess file as Options -Indexes.

Related services

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Unmanaged dedicated servers

full root access and free IPMI KVM, with Free Basic Managed Support.

Managed dedicated servers

our engineers look after the server for you, from $135 a month.

Was this answer helpful?

Still stuck? Open a ticket