How to forward to www in GoDaddy?

Discussion in 'Domain Names' started by cpufreak3, Feb 2, 2008.

  1. #1
    I've got a site in Godaddy, but I would like it to automatically add www. It is hosted elsewhere, however.

    When I put a forward for mysite.com to http://www.mysite.com, it doesn't do anything.

    Is there anyway to handle this with the HTaccess? Thanks
     
    cpufreak3, Feb 2, 2008 IP
  2. furca

    furca Well-Known Member

    Messages:
    1,478
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    125
    #2
    It's got nothing to do with GoDaddy, ask your host.
     
    furca, Feb 2, 2008 IP
  3. cpufreak3

    cpufreak3 Well-Known Member

    Messages:
    346
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Well, for a domain I have in 1and1, I handle it with them... not my host.
     
    cpufreak3, Feb 3, 2008 IP
  4. htmlindex

    htmlindex Prominent Member

    Messages:
    11,748
    Likes Received:
    284
    Best Answers:
    0
    Trophy Points:
    315
    #4
    Create a .htaccess file & add this in it replacing MySite.com with your site name:

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^MySite.com [nc]
    rewriterule ^(.*)$ http://www.MySite.com/$1 [r=301,nc]

    That should work for redirection.
     
    htmlindex, Feb 4, 2008 IP