domain.com isn't working but www.domain.com is ok?

Discussion in 'Site & Server Administration' started by mahmood, May 23, 2006.

  1. #1
    Have you ever seen such a thing: domain.com returns error but www.domain.com is ok.

    Example:

    118.com
    www.118.com

    why is this?
     
    mahmood, May 23, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your server and htaccess file are probably not set up correctly. If you haven't created the htaccess yourself contact your host and ask them to sort it.
     
    mad4, May 23, 2006 IP
  3. Moncal

    Moncal Active Member

    Messages:
    423
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #3
    You should have a directory on your server called public_html. When your server is configured properly then this directory should mirror the www directory.
     
    Moncal, May 23, 2006 IP
  4. mahmood

    mahmood Guest

    Messages:
    1,228
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Acutally it is not my domain, I was just curious how this can happen.
     
    mahmood, May 23, 2006 IP