How to edit or create default documents

Overview

Default documents are files IIS serves automatically when a visitor accesses a directory without specifying a filename. You can add, remove, or reorder them from the Configuration tab of Site Settings.

Steps

  1. Log in to the Everleap Control Panel at cp.everleap.com.
  2. On the Services Overview page, locate the Shared Cloud Hosting Account section and click Manage.
  3. On the Shared Cloud Sites Overview page, click Manage next to your site.
  4. On the Site Overview page, click the Settings tab.
  5. Click the Configuration tab within Site Settings.
  1. In the Default Documents section, review the list. IIS tries documents in top-to-bottom order.
  2. To add a document, type the filename in the input field and click Add.
  3. To remove a document, click the Remove link next to it.
  4. Click Update Configuration Settings to save.

Verify It Worked

Navigate to your site root without a filename. Confirm the correct default document is served.

Notes

  • Common defaults: Default.aspx, Default.htm, index.html, index.php.
  • Order matters - IIS serves the first filename it finds on the list.
  • You can override defaults per directory using a web.config file.

Related Articles