Homepage only displays when including /index.html

Discussion in 'Site & Server Administration' started by byrule62, Oct 20, 2008.

  1. #1
    For some reason when I go to http://biyts.com or http://www.biyts.com I get an FTP error page but if I include the index.html, http://biyts.com/index.html/ I land on the homepage. Anyone have any ideas about what I could have done to cause this?

    There is no welcome file in the server only an index.html.

    Thanks in advance
     
    byrule62, Oct 20, 2008 IP
  2. jliu

    jliu Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Assuming you own the server and it is running Apache as the web server, what is the DirectoryIndex set to in httpd.conf? You need to make sure index.html is listed.
     
    jliu, Oct 20, 2008 IP
  3. byrule62

    byrule62 Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Its a shared hosting account at godaddy. I am sorry if I am a lil dumb at this. Where do I find the directory index?
     
    byrule62, Oct 20, 2008 IP
  4. jliu

    jliu Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I assumed wrong, you can ignore my advice. I thought you had a dedicated server or a VPS.

    You should contact GoDaddy's support as it sounds like a configuration problem on their end.
     
    jliu, Oct 20, 2008 IP
  5. JPC-NickO

    JPC-NickO Guest

    Messages:
    69
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Looks like you don't have the default Index page correctly configured in your control panel.

    Try Adding the line DirectoryIndex index.html to your .htaccess file (if there is already a DirectoryIndex statement you should replace it with the new one.)
     
    JPC-NickO, Oct 21, 2008 IP
  6. kidsnscience

    kidsnscience Banned

    Messages:
    411
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yes its useful
     
    kidsnscience, Oct 22, 2008 IP
  7. byrule62

    byrule62 Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Somehow my htaccess had gotten messed up and was redirecting all of my traffic to index.php. Since this folder has an index.html page it did not work. I renamed the index page to php and now it works but I don't know what caused this to begin with.

    Thanks everone for your help.
     
    byrule62, Oct 28, 2008 IP