Results 1 to 4 of 4

Thread: How to make my website home page comeup ?

  1. #1
    Hi Guys

    I am just starting a new website.

    If its home page is called say "index.htm" how do it make this come up, if a surfer types in the url name of my web site eg mysite.com

    Thanks in advance.

    I can't find this anywhere !

    Regards

    Digby

  2. Internet, Programming and Graphics   -   #2
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    If it's an apache server the httpd.conf file has an option called DirectoryIndex where you say the names of the index file.

    Example:
    PHP Code:
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    #
    DirectoryIndex index.html index.html.var index.php 
    If you don't use apache then whatever you use is probably similar.
    The above would show index.html first if it exists, next index.html.var, then index.php. If nothing exists it reverts to showing a list of files in the directory, if that option is turned on.

    If you host your own server you will need to set this up, or if you pay for hosting you will need to ask our host what the filename is (probably index.html or index.php).

  3. Internet, Programming and Graphics   -   #3
    Thanks for that Rosco.

    I knew it would be something like that

    Regards
    Digby

  4. Internet, Programming and Graphics   -   #4
    100%'s Avatar ╚════╩═╬════╝
    Join Date
    Jan 2003
    Posts
    13,383
    on one site i used it was default.htm
    weird

Bookmarks

Posting Permissions

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