Don't know how to solve this....

Discussion in 'Site & Server Administration' started by deluxdon, Jul 8, 2008.

  1. #1
    Hi,

    Recently i bought one website from one person. Changed NS details in my domain control panel rightafter transferred domain from his account to my account. Now 30+ hours already passed. Uploaded all files given by seller.

    Now the problem is i can't open main page by typing www. domainname.com as i am getting below given error.

    But strange thing is that if i enter www. domainname.com/index.html then main page open very well and same with other pages (all working fine).

    Can anybody tell me how to sort out this problem :confused:

    I think i have posted this thread in right section of this forum.

    DON.
     
    deluxdon, Jul 8, 2008 IP
  2. 007c

    007c Peon

    Messages:
    611
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Did you setup the www alias in dns config on your server? I'd say from the sound of it your dns is working for the first domain but you forgot the alias and you din't configure apache. oorr your not redirecting correctly /urls or you have .htaccess issues mod rewrite and such. So first i'd check if you are indeed serving the www. urls or if there coming from the old server it was on.
    Then if not it's time to check your logs.

    I'm guessing your on a dedi otherwise you'd be complaining to your host.
     
    007c, Jul 8, 2008 IP
  3. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #3
    Actually i have other 2 sites already there on this hostings (shared hosting) and both are working fine there. Previously added domain in this hosting (through addon domain option). Then whats wrong this time ?

    DON.
     
    deluxdon, Jul 8, 2008 IP
  4. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #4
    Check the value of Apache's DirectoryIndex setting. Looks like it isn't set to "index.html" and therefore gives an error.
     
    boltok, Jul 8, 2008 IP
  5. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #5
    Where to check this :confused: I don't know much on hosting server side.

    DON.
    Edit: Problem solved with the help of DP member dotcompals. Thanks mate. :)
     
    deluxdon, Jul 8, 2008 IP
  6. calum

    calum Peon

    Messages:
    2,821
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can only check that on a dedicated server, but good to see it is fixed.
     
    calum, Jul 9, 2008 IP