My domain isn't working without www

Discussion in 'White Hat SEO' started by donArmando, Feb 7, 2012.

  1. donArmando

    donArmando Regular Member

    Joined:
    Oct 28, 2010
    Messages:
    420
    Likes Received:
    260
    Hi guys,
    Can anyone tell me what do i have to do on DNS because my domain is not working without www.
     
  2. Okanenaiyo

    Okanenaiyo Regular Member

    Joined:
    Dec 9, 2011
    Messages:
    261
    Likes Received:
    38
    Google it mate.
     
  3. UltraLink

    UltraLink Regular Member

    Joined:
    Dec 29, 2011
    Messages:
    343
    Likes Received:
    192
    Location:
    West Palm Beach
    Home Page:
    All you need to do is a small domain redirect from cpanel. Look up "cpanel redirect"

    If you don't have cpanel, do it through a .htaccess file. In most cases, that should be all you need.
     
    • Thanks Thanks x 1
  4. cbnoob

    cbnoob Senior Member

    Joined:
    Sep 27, 2010
    Messages:
    969
    Likes Received:
    457
    just search for "www redirect", you will get the answer
     
    • Thanks Thanks x 1
  5. 420friendly

    420friendly Regular Member

    Joined:
    Nov 12, 2009
    Messages:
    248
    Likes Received:
    68
    Location:
    Oz
    Put this in your .htaccess file... of course example.com will be your site ;)

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
    RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
     
    • Thanks Thanks x 1
  6. donArmando

    donArmando Regular Member

    Joined:
    Oct 28, 2010
    Messages:
    420
    Likes Received:
    260
    Thanks guys
    I've managed to fix it via DNS.
     
  7. michaelgologan

    michaelgologan Junior Member

    Joined:
    Feb 7, 2012
    Messages:
    154
    Likes Received:
    180
    put there 301 redirect
     
  8. babah

    babah Newbie

    Joined:
    Jan 16, 2011
    Messages:
    18
    Likes Received:
    0
    Great tutorial right,,.. I love this forum too