Domain.com/index.html works but domain.com doesn't

Discussion in 'Site & Server Administration' started by fr600, Jul 27, 2008.

  1. #1
    Hello,

    I have this issue now and I'm hoping you guys can help me out.

    I can visit "www.mydomain.com" and "www.mydomain.com/index.html" and it's working perfectly.

    But whenever, someone else, outside my network visits "www.mydomain.com", it doesn't work (and shows a blank page) but when he visits "www.mydomain.com/index.html," it works (and show index.html).

    My knowledge about this is limited, so I'm not getting what wrong.

    If I could make you understand the problem I'm having, could you please...?

    Thanks
     
    fr600, Jul 27, 2008 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    What do you mean "out of your network" ?

    Maybe an htaccess rule is defing the default index page to something else then index.html ?
     
    Camay123, Jul 27, 2008 IP
  3. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #3
    What do you mean "out of your network" ?

    Maybe an htaccess rule is defing the default index page to something else then index.html ?
     
    Camay123, Jul 27, 2008 IP
  4. fr600

    fr600 Member

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #4
    I meant "out of your network" = people outside my local area network.

    And there are no htaccess inside the htdocs folder.
     
    fr600, Jul 27, 2008 IP
  5. blackhat33

    blackhat33 Banned

    Messages:
    297
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    windows or linux?
     
    blackhat33, Jul 27, 2008 IP
  6. blackhat33

    blackhat33 Banned

    Messages:
    297
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ohh sorry it's linux. write something is index.html...
     
    blackhat33, Jul 27, 2008 IP
  7. blackhat33

    blackhat33 Banned

    Messages:
    297
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    is this a server or your localhost?
     
    blackhat33, Jul 27, 2008 IP
  8. fr600

    fr600 Member

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #8
    Yes localhost, and windows server 2008 os.
     
    fr600, Jul 28, 2008 IP
  9. blackhat33

    blackhat33 Banned

    Messages:
    297
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Then, go to the IIS and add the default document (index.html) for your website. IIS 7 it's different. Search on google about IIS7 configuration. Very hard to predict if you don't see the error. Have you tried to run asp or aspx? Also, change the page to index.htm and tell me what's happen?
     
    blackhat33, Jul 28, 2008 IP
  10. blackhat33

    blackhat33 Banned

    Messages:
    297
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
  11. fr600

    fr600 Member

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #11
    I'm using Apache and DirectoryIndex is already set to index.html
     
    fr600, Jul 28, 2008 IP
  12. blackhat33

    blackhat33 Banned

    Messages:
    297
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Wow! Strange combination: Windows 2008 and Apache?

    Why you don't use Win Server 2008 + IIS or Apache + Ubuntu/Fedora/Debian etc?

    You know these technologies are not 100% compatible. They run together but...

    Ok. Try to run an index.php file then I let me know... put some text inside, huh? like "online or my server"
    Add it to DirectoryIndex and test it. Do you restart Apache after modified Directory Index?
     
    blackhat33, Jul 28, 2008 IP
  13. fr600

    fr600 Member

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #13
    I did everything as you said. Thanks for trying though.

    I run apache because I know a little about it but I know nothing about IIS. I'm not comfortable with linux and since it's a home pc, so I prefer windows so that I can run a server and still do everything else. Windows XP/Vista has connection limitation so I use WinServer2008 which I converted to look just like vista. That's the story behind this strange combination. Performance wise, so far so good. Not a lot of traffic yet and I'm not sure how it will turn out in the future.

    Regarding the problem I was having, I've contacted Domain Support Dept. and now it seems fine. I don't know why and how, but it's working and so I'm happy.

    I'd like to thank you all for trying to help me out.
     
    fr600, Jul 28, 2008 IP
  14. blackhat33

    blackhat33 Banned

    Messages:
    297
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #14
    You're welcome. Maybe if you want just let me know what it was?

    It's good to know.
     
    blackhat33, Jul 28, 2008 IP