My site is not working with www

Discussion in 'HTML & Website Design' started by robibrk, Mar 3, 2008.

  1. #1
    My site is not wotking with www, only with http://.com

    How to fix this issue?
     
    robibrk, Mar 3, 2008 IP
  2. pipsbank

    pipsbank Banned

    Messages:
    1,187
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can rewrite in the .htaccess
    no need to adjust anything.

    if people type the www.xxxx.com
    then it will automatic goes to the xxx.com
     
    pipsbank, Mar 3, 2008 IP
  3. robibrk

    robibrk Well-Known Member

    Messages:
    1,115
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #3
    This is the content of my .htaccess file:
    RewriteEngine on
    RewriteRule ^play-([0-9]+) play.php?id=$1 [L]
    RewriteRule ^full-([0-9]+) full.php?id=$1 [L]
    RewriteRule ^cat-([0-9]+)?-p([0-9]+) games.php?cat=$1&page=$2 [L]
    RewriteRule ^profile-(.*)\.html$ page.php?page=viewprofile&user=$1 [L]
    RewriteRule ^page-(.*)\.html$ page.php?page=$1 [L]
    RewriteRule ^rss-(.*)\.xml$ xml.php?action=$1 [L]
    Options -Indexes

    What to write and where?:confused:
     
    robibrk, Mar 3, 2008 IP
  4. northwest

    northwest Peon

    Messages:
    277
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you not comfortable changing the .htaccess, your web host support people can fix this for you. I would contact them...
     
    northwest, Mar 3, 2008 IP
  5. zinc-uk

    zinc-uk Peon

    Messages:
    365
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    zinc-uk, Mar 3, 2008 IP
  6. sipepdesign

    sipepdesign Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    did you recently make DNS changes?
     
    sipepdesign, Mar 3, 2008 IP
  7. drimsun

    drimsun Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #7
    If you have access to your DNS settings you have to set a CNAME record with www as alias and the IP of your server as host (the same way you would do for any other subdomain).

    If you don't have access and got to ask support to do DNS changes you can first check if everything is alright using
    http://www.dnsstuff.com/
    Code (markup):
     
    drimsun, Mar 4, 2008 IP