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

How to add WWW to domain URL?

Discussion in 'Web Hosting' started by JRFisher, Aug 14, 2013.

  1. JRFisher

    JRFisher Newbie

    Joined:
    Aug 10, 2013
    Messages:
    47
    Likes Received:
    9
    Location:
    England
    Does anybody know how to set up using godaddy or hostgator my url to display www before my domain?
     
  2. imm088

    imm088 Registered Member

    Joined:
    Dec 26, 2012
    Messages:
    88
    Likes Received:
    27
    can you edit or create .htaccess file?
    google it and you ll find it
     
  3. heartnet02

    heartnet02 Power Member

    Joined:
    Aug 27, 2012
    Messages:
    533
    Likes Received:
    95
    Home Page:
    When you install wodpress on it using Mojo marketplace, it will allow you to choose whether you want a domain which has www on it or none.
     
  4. muscleteen

    muscleteen Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    397
    Likes Received:
    861
  5. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,416
    Likes Received:
    3,701
    Home Page:
    Add this to .htaccess file:

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

    ContentWriter Jr. VIP Jr. VIP

    Joined:
    May 8, 2013
    Messages:
    1,817
    Likes Received:
    212
    Occupation:
    Content Writer
    Home Page:
    Mate, let me help.
    First off, install WordPress to your domain via your host's CPanel.

    Then, login to domain's WordPress Panel.
    On WP's panel, find and click Settings.
    Click General.
    Then, you'll find these two: WordPress Address (URL) and Site Address (URL).

    That's where you can add or remove "www".

    Let me know if this helps.
     
  7. muscleteen

    muscleteen Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    397
    Likes Received:
    861
    What if he doesn't want to use WordPress? What if he wants to use Drupal, Joomla, or just plain HTML?
     
  8. pavan

    pavan Elite Member

    Joined:
    Mar 30, 2008
    Messages:
    1,603
    Likes Received:
    432
    if above steps doesn't work for you then simply add a new sub domain with www
    by default its added when u add a new domain in cpanel
     
  9. elviswong

    elviswong Senior Member Premium Member

    Joined:
    Nov 8, 2011
    Messages:
    917
    Likes Received:
    241
    Yeah just add a sub-domain.

    You can also add a"wild card" dns which means anythinghere.youromdomain.com will show your main page
     
  10. makinsales

    makinsales Regular Member

    Joined:
    Jul 23, 2011
    Messages:
    368
    Likes Received:
    283
    Location:
    The Murda Mitten
    In the Hostgator Cpanel Click on 'Redirects' under the Domains Section..
    Then Pick the domain from the drop down menu and redirect it to the WWW.

    Here's some pics I just threw together to help..

    [​IMG]
     
  11. joebruin

    joebruin Newbie

    Joined:
    Mar 4, 2009
    Messages:
    13
    Likes Received:
    0
    The .htaccess works best. You always want to be in control of it instead of relying on hostgator to do it.