Default document

From Hostek.com Wiki
Revision as of 10:31, 14 August 2012 by Carlb (Talk | contribs) (Created page with "==Default Document== *The default document is the page that loads when your site is loaded in an internet browser. *Our Linux/cPanel servers have predefined default documents...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Default Document

  • The default document is the page that loads when your site is loaded in an internet browser.
  • Our Linux/cPanel servers have predefined default documents but there are some cases where you may need the site to load a different page.
  • You can use the steps below to change the default document for your site in cPanel.

Changing the Default Document

  1. Open the "File Manager"
  2. Right-click the ".htaccess" file and select "Code Edit"
  3. Enter the code below into the .htaccess file and click "Save" (replace "default.html" with the name of the default page you want to load)
DirectoryIndex default.html