Results 1 to 7 of 7

Thread: A newbie question

  1. #1
    Join Date
    Feb 2009
    Posts
    1

    Default A newbie question

    Ok, so at the college I goto, they taught us how to whole net process works with linking web pages together and uploading to your host, ect. But I have one question that seems host/provider specific. Where do I change my actual home page at? When I goto www.website.com I want it to redirect to www.website.com/index.htm, or have the clean URL be a page in it's own.

    Is there someone out there that understands my problem? It's probably garbled but that's mainly because i'm flustered.. lol

  2. #2
    Join Date
    Apr 2008
    Location
    Morgan Hill, CA
    Posts
    873

    Default

    Quote Originally Posted by walt4599 View Post
    Ok, so at the college I goto, they taught us how to whole net process works with linking web pages together and uploading to your host, ect. But I have one question that seems host/provider specific. Where do I change my actual home page at? When I goto www.website.com I want it to redirect to www.website.com/index.htm, or have the clean URL be a page in it's own.

    Is there someone out there that understands my problem? It's probably garbled but that's mainly because i'm flustered.. lol
    When you point the browser at www.website.com, the server will send the file index.html to the browser by default. Any changes that you make to file index.html will be displayed when the browser accesses it.

  3. #3
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    There is actually a list of files it looks for and it displays the first one from the list that it finds. If it doen't find index.html it will look for index.htm etc.

  4. #4
    Join Date
    Apr 2008
    Location
    Morgan Hill, CA
    Posts
    873

    Default

    Quote Originally Posted by felgall View Post
    There is actually a list of files it looks for and it displays the first one from the list that it finds. If it doen't find index.html it will look for index.htm etc.
    Thanks for the additional information.

    Do you happen to have a link where the list of file names and their search order is documented? I've always been a bit fuzzy on just what files are in the list and the order in which they are searched.

  5. #5
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    I am not sure what list BlueHost uses as a default but there is an article at http://helpdesk.bluehost.com/kb/inde...od_id=2&id=207 that tells you how you can override that list with your own.

  6. #6
    Early Out's Avatar
    Early Out is offline Former Moderator, Still Respected
    Join Date
    Mar 2006
    Location
    Sector R
    Posts
    4,650

    Default

    FWIW, I went hunting for the BH default list, and couldn't find it, either. I'm guessing that default.htm* comes before index.htm* (which is non-standard for Apache), but I have no idea whether that's correct, and I don't know where things like Index.html or index.php fit into the sequence.

  7. #7
    Join Date
    Jan 2008
    Location
    cardboard box
    Posts
    388

    Default

    These are what I checked, in the order they are served.
    1. index.html
    2. index.shtml
    3. index.pl
    4. index.plx
    5. index.ppl
    6. index.perl
    7. index.cgi
    8. index.php3
    9. index.php4
    10. index.php
    11. index.htm
    12. default.htm
    13. default.html
    14. home.htm

    I wouldn't rely on this being static, or even the same across servers.
    If you want to be sure, you need to define your own list using DirectoryIndex.
    Last edited by wysiwyg; 02-20-2009 at 03:07 PM.
    Have you tried turning it off and on again?

Posting Permissions

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