Troubleshooting an "Index of" page

Find out how to get your website back online if it displays an "Index of" page

Last updated 10th May 2022

Objective

If a Multisite configuration is not correctly set up, your website may display an Index of page.

index_of

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

OVHcloud is providing you with services for which you are responsible, with regard to their configuration and management. You are therefore responsible for ensuring they function correctly.

This guide is designed to assist you in common tasks as much as possible. Nevertheless, we recommend that you contact a specialist service provider and/or discuss the issue with our community on if you have difficulties or doubts. You can find more information in the Go further section of this guide.

Requirements

Instructions

Understanding the origin of the "Index of" page

Your domain name is connected via the Multisite section of your hosting to a directory (a Root folder) on your FTP server.

The Index of page indicates that the directory does not contain an index.php or index.html file. Such a file functions as the "entry point" of your website.

Your domain name therefore needs to be linked to the Root folder containing this index.php or index.html file.

To correctly display your website, this connection must be established in the Multisite section of your Web Hosting plan.

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 guide. You can also protect access to your folders with a password.

We recommend contacting a specialist provider if you experience any difficulties setting up this configuration. Our support teams will not be able to assist you with any changes to your website’s internal programming.

Resolving the most common cause of an "Index of" page

You have imported the files of your website mydomain.ovh into the www folder on your OVHcloud Web Hosting plan through an FTP connection. Your domain name however is not linked to this folder in the Root folder column of your Multisite configuration.

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

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.

Go further

Resolve the most common 1-click module errors

Resolve the "Website not installed" error

Hosting multiple websites on your Web Hosting plan

If you would like assistance using and configuring your OVHcloud solutions, please refer to our support offers.

Join our community of users on https://community.ovh.com/en/.


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community