Results 1 to 1 of 1

Thread: How to Change Your Linux Site's Default Page

  1. #1
    Join Date
    Nov 2009
    Posts
    99

    Default How to Change Your Linux Site's Default Page

    When a visitor browses to your site, our servers load the 'index' page by default (eg. index.htm, index.html, index.php). To change this for sites on our Linux servers, do the following:

    1. Log into your cPanel Account
    2. Click the "File Manager" icon, and choose "Web Root" in the popup that appears. Click "Go"
    3. Click the "New File" icon at the top left of the "File Manager"
    4. Type ".htaccess" as the file name and click "Create New File"
    5. Your new file should now appear in the "File Manager". Click the filename, then click the "Edit" button at the top. (If you see a message asking about encoding, just click the "edit" button in this message)
    6. Now that you are editing the new ".htaccess" file, insert the following line of text:

      DirectoryIndex portfolio.html

      Where "portfolio.html" is the name of your new default page.
    7. Click the "Save Changes" button in the editor window, and your site will start using its new default page
    Last edited by jakeh; April 3rd, 2010 at 07:59 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •