Dumb Hostgator Question

7 replies
How do you get the www to stick in front of domain name? I've looked around the cpanel and can't seem to find where or how to do it. Or should I have used it when I first pointed the domain to hostgator hosting? Such as www.mysite.com instead of just mysite.com?

Thanks

PS. I'm using wordpress on the root.
#dumb #hostgator #question
  • Profile picture of the author pavondunbar
    I think that you are just fine. The www will automatically appear.

    For example,

    you can type in www.yoursite.com

    or...

    yoursite.com (without the www)

    and your site will pull up just fine since you have it uploaded in the root folder.

    Just make sure your main page is index.html, index.htm, index.php, etc...as long as it's index.

    Hope this helps. Have a great weekend.

    Pavon
    {{ DiscussionBoard.errors[746421].message }}
  • Profile picture of the author ikontent
    Originally Posted by Goldenchute View Post

    How do you get the www to stick in front of domain name? I've looked around the cpanel and can't seem to find where or how to do it. Or should I have used it when I first pointed the domain to hostgator hosting? Such as www.mysite.com instead of just mysite.com?

    Thanks

    PS. I'm using wordpress on the root.
    Goldenchute : Since you mentioned you are using wordpress; in the Wordpress settings, check what you are using as the blog url; is it with the www, or without?

    Wordpress modifies the htaccess file depending on how you use it; check out this blog post (not mine, but came up in Googsearch);

    http://www.blogbloke.com/url-with-or-without-www/

    Next; you need to ensure that the other version (with or without, depending on your choice) also redirects to your preferred choice.

    There's a good tutorial here.

    URLs with or without www - WHTwiki
    Signature

    When I have something good to say, you'll see it here first.
    Connect on Google + : http://gplus.to/ikontent

    {{ DiscussionBoard.errors[746438].message }}
  • Profile picture of the author jjpmarketing
    If I am not mistaken what you will need to do is set this up in the DNS on your hosting account for that specific domain. If your domain is with another registrar then you will likely need to make the change with the registrar and not your hosting account. I have domains with HostMonster and BlueHost and didn't see any option in cPanel for DNS. You may need to go to the domain manager to view this information. Your best option is to contact HostGator directly either by phone or by chat. They have excellent support and would be able to help you better than anyone on this forum could.

    Also like mentioned above it could be an issue with URL setting in WordPress.
    {{ DiscussionBoard.errors[746441].message }}
  • Profile picture of the author Broomy
    If I'm not mistaken, in Wordpress I think there might be a setting in the options which will have yoursiteDOTcom or wwwDOTyoursiteDOTcom (sorry, can't post url's on the forum yet, hence the DOT instead of period). I'm guessing you have the former if you're being directed there when typing in wwwDOT in front of your domain. Try changing the setting if this is the case.
    {{ DiscussionBoard.errors[746443].message }}
  • Profile picture of the author Goldenchute
    Thanks to all of you for the quick reply. I forgot about the url setting in wordpress...duh!

    Great info from all of you!

    Man, you gotta' love this place. Great bunch of top notch people here at WF!
    Signature

    "Life IS short!" So FUN up!
    Healthy Weight Loss

    {{ DiscussionBoard.errors[746471].message }}
  • Profile picture of the author ChrisJamesG
    The best thing about Host Gator....24 hours live support...you can ask them the dumbest questions in the world and they'll help
    Signature
    *** 10,000+ Private Label Rights Niche Articles
    *** 90+ Private Label Rights Internet Marketing Articles
    *** 50+ Private Label Rights eBooks

    [ALL FREE] Private Label Rights - CLICK HERE
    {{ DiscussionBoard.errors[746483].message }}
    • Profile picture of the author linkman11
      If wordpress use their url settings..

      To force a www in a Non-wordpress use a 301 redirect in your .htaccess file.


      RewriteEngine on
      RewriteCond %{HTTP_HOST} !^www.your_domain.com$
      RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
      {{ DiscussionBoard.errors[746520].message }}

Trending Topics