24/7 Support (425) 274-4500 | Submit a Ticket | Who is my Reseller?

Set Default Index Documents with .htaccess

Article Number: KB 940

Product: Website Hosting

Audience:eNom Reseller, eNom Central, Bulk Register


How do I set the default documents for my web site on Linux web hosting?


To set the default documents or "index" documents for your Linux-hosted web site, create an .htaccess file and upload it to the root folder for your domain (see Web Hosting: Upload Files to Web Hosting Account), or add the following to an existing .htaccess file:

DirectoryIndex index.html index.htm index.php

You can modify the above example to include the name(s) of the default document(s) you would like to use.

More Information


Last Updated: October, 2015


Still looking for help? Call us at 1-425-274-4500 or click here to open a ticket online.