Need help asap

Discussion in 'Programming' started by pasfile, Jul 31, 2007.

  1. #1
    when i type my domain as www.domain.com i get a 'Page cannont be displayed page', however when i type domain.com it shows my site. :confused:

    any help would be greatly appreciated!
     
    pasfile, Jul 31, 2007 IP
  2. caj

    caj Active Member

    Messages:
    748
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    75
    #2
    Did you check your htaccess file? Check your redirect 301? That could be the culprits.
     
    caj, Jul 31, 2007 IP
    pasfile likes this.
  3. pasfile

    pasfile Active Member

    Messages:
    603
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    60
    #3
    will do, thanks!
     
    pasfile, Jul 31, 2007 IP
  4. euphers

    euphers Peon

    Messages:
    56
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is this set up through a hosting site? If so, did you set it up through a control panel? Some hosts will give you the option to leave off the 'www' part, or the other way around.
     
    euphers, Jul 31, 2007 IP
  5. AmberL

    AmberL Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    verify, .htaccess file.
    Modify these and try,
    # Rewrite www.domain.comto domain.com
    RewriteCond ${HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]
     
    AmberL, Aug 2, 2007 IP