Problem with opening domain.com and domain.com/index.html

Discussion in 'Site & Server Administration' started by doka, Jan 12, 2008.

  1. #1
    Hi,

    There is a problem for me, I have a subdomain created I upload index.html file on it:

    sub.domain.com/index.html

    Browser must open the index file when trying to "sub.domain.com" but it does not open and must entered sub.domain.com/index.html to opening!

    What is the problem cause? How I can solve that?

    Thanks
     
    doka, Jan 12, 2008 IP
  2. dalgic

    dalgic Active Member

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    which hosting company are you using, you may need to place an .htaccess file in that folder to recognize the default index files such as index.html, default.html etc.
     
    dalgic, Jan 12, 2008 IP
  3. doka

    doka Active Member

    Messages:
    312
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #3
    .htaccess file already exists in the directory but same problem... Thank you for your attention
     
    doka, Jan 12, 2008 IP
  4. dalgic

    dalgic Active Member

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    you should open your htaccess with wordpad and paste the content in it here so we can check, or contact your host company and they can sort it out.
     
    dalgic, Jan 12, 2008 IP