AlpineWeb Design Home
Check Domain Name Availability
Customer Login | Contact Us | Mobile Users
Live Help
    Support Home > Signature > Web Server >

DirectoryIndex

The DirectoryIndex is the file that appears first when you specify a Web site or directory without a file name.  For example, when a Website is displayed on your account, the DirectoryIndex page is index.html, followed by index.htm and default.htm. To change the order or add a different file name:
  1. Telnet or SSH into your account. See the Getting Started Guide for further instructions.
  2. Browse to the directory you want to change the DirectoryIndex for. If this is your main Web page, type the following at the UNIX shell prompt, then press
    cd www/htdocs
  1. After you are in the directory you want to change, edit the .htaccess file in pico, vi, or another text editor of your choice.
  2. Add the following line to the end of the .htaccess file, then press Enter:
    DirectoryIndex index.html index.htm index.shtml
    Note: Replace file_name with the name of the file you want displayed first. You also can add additional directories by adding that directory and file name after file_name.
image


DocumentationDocumentation Home
Help Desk
Knowledgebase

Business Services
PC Data Backup Support
Sugar CRM

Domain Name Services
Domain Name Registration
Domain Name Transfer
Domain Name Redemption

Web Hosting
Getting Started Guides
Starter Hosting
Signature Hosting
  • Add-Ons
  • Mail
  • Users
  • Utilities & Files
  • Databases
  • Statistics
  • Preferences & Settings

Virtual Private Servers
  • FreeBSD VPS v2/3
  • Linux VPS
Managed Private Servers
  • FreeBSD MPS v2/3
  • Linux MPS





image
Authorized viaVerio Reseller         Authorize.net         Miva Certified Business Partner
Homepage | About Us | Privacy Policy | Rates & Fees | Contact Us | Sitemap

All contents © Copyright 1997-2010 AlpineWeb Design