Web Hosting - Setting a Default Document for a Web Directory

This page contains instructions for can setting up a default index file that will be displayed when a web user accesses a directory in your Web Hosting website.

Windows/IIS Accounts

Follow these instructions to change the default document for a directory:

  1. Log in to the Plesk Administrative Control Panel.
  2. On the Websites & Domains tab, expand all domain configuration options, then select Virtual Directories.
  3. Make sure you are currently viewing the directory where you want to change the default document settings (or httpdocs if you want to change this setting for the whole website), then click Directory Properties.
  4. Make the desired changes in the Documents section.

LAMP Accounts

Follow these instructions to change the default document for a directory:

  1. Log in to the Plesk Administrative Control Panel.
  2. On the Websites & Domains tab, expand all domain configuration options, then select Web Server Settings.
  3. Under Index files, check the Custom radio button.
  4. Enter your desired list of default documents (separated from each other by one space) and click OK.

You can also change the default document for any directory by placing an .htaccess file in that directory that has a DirectoryIndex directive listing the allowed default documents and their order of precedence. For specific instructions, see Apache's documentation.