This article explains how to use Indices in cPanel to choose what a visitor sees when opening a site folder that does not have a homepage.
What is it for?
When someone enters a folder, for example yourdomain.com/images/, the server looks for a start file (index.html, index.php, or another). If it doesn't find one, it can display the list of files in that folder. From Indices you choose what happens in that case:
- Inherit: the folder uses the settings of the parent folder. If that one doesn't have any, it uses the server's settings.
- No Indexing: files are not displayed. The browser indicates that access is forbidden.
- Show Filename Only: displays only the file names.
- Show Filename and Description: displays names with data such as size and type.
If the folder has its index file, the visitor sees that page and this option doesn't change anything.
Important: a folder with active listing exposes all its content: backups, documents, or configuration files. For folders that are not intentionally public, choose No Indexing. Hiding the listing does not protect the files: anyone who knows the exact address can still open them. For that, use Directory Privacy.
Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel. Then open Advanced → Indices.

Change folder settings
- Navigate to the folder. Click on the icon or name to enter, and on Up One Level to go up one level. The main site is in
public_html. - In the folder's row, click on Edit.

- Choose one of the four options.
- Click on Save.
The chosen option appears in the Index Type column. Subfolders set to Inherit take the same value.
If you always work in the same location, under Settings you can make the screen open directly in the site root or a domain folder.
Frequent issues
- The folder still displays the file list: check that the change was made on that folder and not another. If it is on Inherit, check what the parent folder has.
- A forbidden access error appears: the folder is set to No Indexing and has no homepage. Upload an
indexfile or change the option if the listing needs to be seen. - I changed the option and there was no difference: the folder has an
indexfile, and that page is always displayed first. - The Indices option is not there: it may be disabled in the service. Open a ticket from the client portal.
If you saved the change and the folder does not respond as expected, open a ticket from the client portal or consult via the site's online chat.
