Troubleshooting an "Index of" page

View as Markdown

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:

index_of

This guide explains how to troubleshoot the display of an "Index of" page.

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


OVHcloud Control Panel Access

  • Direct link:
  • Navigation path: Web Cloud > Hosting plans > Select your web hosting plan

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. You can do this via the Multisite tab in your web hosting plan, in your .

The "Index of" page indicates that the target directory does not contain a index.php or index.html file. A file of this type is the entry point for your website. This file name is standardised.

To view your website, you will need to link your domain to the Root folder containing this file index.php or index.html to view it from the Multisite section of your hosting plan.

Info

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 mydomain.ovh into the www folder of your hosting. However, your domain name is not linked to this folder in the Root folder column of your website.

index_of_multisite

Modify the Root folder by clicking on the ... button in the row of the domain name concerned, then Modify domain:

modify_domain

In the window that opens:

  • Select the Also modify the www.mydomain.ovh sub-domain (1) box.
  • Specify the directory containing your site's index.php or index.html file as Root folder (2).
  • Click on Next (3).
change_root_folder
Info

It is not mandatory to use the www directory as Root folder. You can install your website in another folder on your FTP server.

In the next window, click on Confirm.

modify_root_folder_confirm

In a few minutes (remember to refresh your browser), you will see the following result:

multisite_modified

Finally, check that your website appears correctly. Otherwise, reboot your device and clear your browser cache if necessary.

Also make sure that a 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.

Was this page helpful?