Troubleshooting an "Index of" page
Find out how to get your website back online if it displays an "Index of" page
Objective
An "Index of" page appears in at least one of the following cases:
- The configuration of your domain name with your website is not correctly set to your target directory.
- The target folder to which your domain name points does not contain index.html or index.php files.
Find out how to fix an "Index of" page on your website.
Information regarding OVHcloud service administration and how to find appropriate assistance
When using OVHcloud guides, please be aware of the following conditions:
- User instructions aim to provide as many details as possible but cannot cover individual use cases. You might need to adapt the pertinent actions to your requirements.
- The OVHcloud ecosystem is built for flexibility and freedom of choice. Customers are therefore responsible for the secure and proper configuration of their services. To prevent data loss, we strongly recommend to apply backup strategies to all your important data.
- Our guides and tutorials may reference third-party software or services in combination with OVHcloud solutions. The technical support provided by OVHcloud does not include the configuration of systems or products outside of our responsibility. This includes but is not limited to:
- Operating systems and user interfaces (Windows, Debian, Plesk, etc.).
- Any other third-party software (FTP clients, email software, etc.).
- Services offered by other providers (DNS, APIs, user interfaces, etc.).
To receive the appropriate assistance for any issues you might experience, follow these guidelines:
- You seek personalized advice or you would like to discuss a topic that is not covered in detail by our documentation?
Join the OVHcloud Community to search for your topic and reach out to other users. - You need to report an incident regarding your OVHcloud service or you are experiencing difficulties in the OVHcloud Control Panel?
Create a support request in our Help Centre. - You require professional assistance for your project or you need help with tasks outside our support scope?
Visit our partner portal to search for experts who are familiar with OVHcloud solutions. - You are looking for more detailed information regarding our support levels and Professional Services?
Please visit our web pages for OVHcloud support levels and OVHcloud Professional Services.
You can participate in improving our documentation:
- You would like to share feedback to improve a guide page or you want to report insufficient information on a specific page?
Use the "Was this page helpful?" buttons at the bottom of the page to let us know. - You would like to propose a specific documentation update?
Use the "Edit this page" function, available at the bottom of the page and in the sidebar.
Requirements
Instructions
Understanding the origin of the "Index of" page
Your domain name is declared to access a target directory (a root folder) on the server FTP of your web hosting plan. For more information on associating a domain name with a hosting plan, refer to our guide "Hosting multiple websites on your Web Hosting plan".
The "Index of" page indicates that the target directory does not contain an index.php or index.html file. A file of this type is the entry point for your website. This file name is standardised.
To display your website, ensure the root folder associated with your domain name contains an index.php or index.html file.
If you want to temporarily link your domain to a root folder that does not contain an index.php or index.html file, you can prevent the list of folders from being displayed on your site by following this tutorial. You can also protect access to your folders with a password.
We recommend that you contact a specialist provider if you have difficulties setting up this configuration. Indeed, our support teams will not be able to assist you with any changes to the internal programming of your website.
Resolving the most common cause of an "Index of" page
You have imported the files of your site domain.tld into the www folder of your hosting via FTP. However, the website associated with your domain name is not linked to this folder in the root folder column.
You will need to modify the root folder initially declared for your website from your . To do this, refer to our guide "How to modify the root folder of an existing website?".
If your website has a configuration with Git, please refer to our guide "Configure and use Git with your OVHcloud web hosting" beforehand to remove the association with Git before continuing. Note that modifying the root folder is unavailable if your website is configured with Git.
Finally, check that your website appears correctly. Otherwise, reboot your device and clear your browser cache if necessary.
Also make sure that an index.php or index.html file is present in your target directory.
Go further
Resolve the most common 1-click module errors
Resolve the "Website not installed" error
Hosting multiple websites on your Web Hosting plan
For specialised services (SEO, development, etc.), contact OVHcloud partners.
If you would like assistance using and configuring your OVHcloud solutions, please refer to our support offers.
Join our community of users.