1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to setup WWW on my domain Please Help ?? ***************

Discussion in 'Domain Names & Parking' started by mirmo123, Nov 27, 2014.

  1. mirmo123

    mirmo123 Regular Member

    Joined:
    Jun 13, 2014
    Messages:
    222
    Likes Received:
    19
    Occupation:
    Freelancer
    Location:
    Mount Olympus
    Home Page:
    Hi guys . I have a new website with hostgator and godaddy on it.. when I type www.mysamplesite(dot)com it will redirect to mysamplesite(dot)com only not on with a WWW . how can I fix this? thanks
     
    Last edited: Nov 27, 2014
  2. ephman

    ephman Junior Member

    Joined:
    Jun 12, 2014
    Messages:
    170
    Likes Received:
    50
    Oh you have to edit the .htaccess file if its wordpress

    Or better yet, use a permanent redirect and redirect and redirect your naked domain (without www) to full domain (with www)
    Goto cPanel for this. Check out redirect. It'll be in that.
     
  3. mirmo123

    mirmo123 Regular Member

    Joined:
    Jun 13, 2014
    Messages:
    222
    Likes Received:
    19
    Occupation:
    Freelancer
    Location:
    Mount Olympus
    Home Page:
    whats better thing to do? htaccess or on my cpanel?
     
  4. mirmo123

    mirmo123 Regular Member

    Joined:
    Jun 13, 2014
    Messages:
    222
    Likes Received:
    19
    Occupation:
    Freelancer
    Location:
    Mount Olympus
    Home Page:
    do I need to go to my godaddy account?
     
  5. mirmo123

    mirmo123 Regular Member

    Joined:
    Jun 13, 2014
    Messages:
    222
    Likes Received:
    19
    Occupation:
    Freelancer
    Location:
    Mount Olympus
    Home Page:
    I already tried what u said but that's not what I mean. I mean that I dont have www on my domain
     
  6. donut020

    donut020 Registered Member

    Joined:
    Dec 23, 2012
    Messages:
    98
    Likes Received:
    20
    Do you have Wordpress installed?
     
  7. alexglo

    alexglo Junior Member

    Joined:
    Aug 12, 2011
    Messages:
    166
    Likes Received:
    145
    Location:
    UK
    If you are using wordpress - go into settings -> general and change your domain from http://yourdomain.com to http://www.yourdomain.com in both areas.When you save you should have to log in again and it will not automatically take you to www no matter how you access the page.
     
  8. yalokin

    yalokin Junior Member

    Joined:
    Apr 4, 2014
    Messages:
    119
    Likes Received:
    38
  9. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,416
    Likes Received:
    3,701
    Home Page:
    If it's not Wordpress then put this in your .htaccess file:

    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase / 
    RewriteCond %{HTTP_HOST} ^domain.com [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
    
     
  10. pjlarambla

    pjlarambla Registered Member

    Joined:
    Oct 17, 2010
    Messages:
    64
    Likes Received:
    12
    Where ever you purchased the domain go to your domain manager, then to your domains.

    and make a A record for your domain IE: www
     
  11. mirmo123

    mirmo123 Regular Member

    Joined:
    Jun 13, 2014
    Messages:
    222
    Likes Received:
    19
    Occupation:
    Freelancer
    Location:
    Mount Olympus
    Home Page:
    I'm using wordpress. I think a figured it out. But I need to buy premium DNS on godaddy? wew. that's so expensive.. to be able to add A record.
     
  12. mirmo123

    mirmo123 Regular Member

    Joined:
    Jun 13, 2014
    Messages:
    222
    Likes Received:
    19
    Occupation:
    Freelancer
    Location:
    Mount Olympus
    Home Page:
    is it really expensive to buy domains on godaddy?
     
  13. ephman

    ephman Junior Member

    Joined:
    Jun 12, 2014
    Messages:
    170
    Likes Received:
    50
    No you dont need to have premium DNS to do that. Don't buy anything! You already have domain and web host. Goto cPanel of hostgator. Then look for redirect under domain category.
    Make a 301 redirect. You'll see its there.
     
  14. barlow21

    barlow21 Junior Member

    Joined:
    Aug 15, 2011
    Messages:
    192
    Likes Received:
    36
  15. mirmo123

    mirmo123 Regular Member

    Joined:
    Jun 13, 2014
    Messages:
    222
    Likes Received:
    19
    Occupation:
    Freelancer
    Location:
    Mount Olympus
    Home Page:
    thanks . I got it now. I chance it from settings on wordpress.
    thanks for all your help guys. more power BHW