my domain names have no www

24 replies
For some reason whenever i set up a new site it is always http:// mysite . com and has no www why is this ??

I am using cpanel. The strange thing is this is happening with host9 and hostgator, i get my domain names from godaddy.
#domain #names #www
  • Profile picture of the author WD Mino
    Hi,
    I think it is because your domain is forwarded .I could be wrong but i think that is it

    -WD
    Signature

    "As a man thinks in his heart so is he-Proverbs 23:7"

    {{ DiscussionBoard.errors[1528330].message }}
  • Profile picture of the author Avdo
    It's nothing to do with your hosting..it's how google indexes your website..
    Using google webmasters tools? Open account if not, and from there submit your site as www.domain.com
    {{ DiscussionBoard.errors[1528335].message }}
    • Profile picture of the author sarahstaar
      but i set up my hosting change my name servers, get the first page of my site up all within an hour or two and it always has no www. this is all long before google has indexed it !!
      {{ DiscussionBoard.errors[1528344].message }}
      • Profile picture of the author WD Mino
        Hi,
        Forwarded would be because godaddy is your registrar your site domains are being pointed from their server to your server that is clled forwarding directing your domain to a different server then the originating one.

        there is a simple way to see log into your domain admin and see where the extensions of yoursite.com www.yoursite.com etc are pointing. it seems like that is the problem
        -WD
        Signature

        "As a man thinks in his heart so is he-Proverbs 23:7"

        {{ DiscussionBoard.errors[1528355].message }}
        • Profile picture of the author sarahstaar
          the only thing i change at godaddy are the name servers.
          {{ DiscussionBoard.errors[1528358].message }}
        • Profile picture of the author ExRat
          Hi Sarah,

          I have a reseller ac with host nine and hostgator
          I'm not sure about this as I set all of my sites to work without www, but try adding a new domain onto your reseller and when you click -

          'create a new account'

          in the 'domain' field, add it with the www.

          I'm not sure, but I think this works.

          For wordpress sites, just go to -

          settings>general and update both these fields -

          wordpress address (URL)
          blog address (URL)

          with the www. version. It will log you out of your WP admin automatically. Then go to your blog home page and you will see it has set it as www.
          Signature


          Roger Davis

          {{ DiscussionBoard.errors[1528362].message }}
          • Profile picture of the author omrid1
            Hello
            I also have a reseller account with Host Gator.
            You need to do a 301 redirect otherwise your site will be treated as 2 sites.
            This is fairly simple, here it goes:

            Locate your .htaccess file (in the public_html) directory & Add the following code:

            RewriteEngine on
            RewriteCond %{HTTP_HOST} ^([a-z.]+)?example\.com$ [NC]
            RewriteCond %{HTTP_HOST} !^www\. [NC]
            RewriteRule .? http://www.example.com%{REQUEST_URI} [R=301,L]


            substituting the example.com domain with your site information

            PS
            You can find out more information about this at the following host gator support:
            Apache mod_rewrite and examples HostGator.com Support Portal

            I hope this helps
            Thanks
            {{ DiscussionBoard.errors[1528379].message }}
            • Profile picture of the author sarahstaar
              Originally Posted by omrid1 View Post

              Hello
              I also have a reseller account with Host Gator.
              You need to do a 301 redirect otherwise your site will be treated as 2 sites.
              This is fairly simple, here it goes:

              Locate your .htaccess file (in the public_html) directory & Add the following code:

              RewriteEngine on
              RewriteCond %{HTTP_HOST} ^([a-z.]+)?example.com$ [NC]
              RewriteCond %{HTTP_HOST} !^www. [NC]
              RewriteRule .? http://www.example.com%{REQUEST_URI} [R=301,L]


              substituting the example.com domain with your site information

              PS
              You can find out more information about this at the following host gator support:
              Apache mod_rewrite and examples HostGator.com Support Portal

              I hope this helps
              Thanks


              thanks for that i will give it a try.

              Why do we have to do this now. What has changed??? I have never had to do this for the past 10 years ???
              {{ DiscussionBoard.errors[1528385].message }}
              • Profile picture of the author luckystepho
                Hi

                Are you using a Wordpress blog? If so, try going into Settings, then into General (I think!) and you will see your domain name towards the top of the screen. Try changing it to include the 'www' and then save settings, that may resolve it. Worked for me!
                {{ DiscussionBoard.errors[1528396].message }}
                • Profile picture of the author sarahstaar
                  it is like this on all sites, wordpress and static
                  {{ DiscussionBoard.errors[1528471].message }}
                • Profile picture of the author omrid1
                  It's true Wordpress allows you a MUCH easier ways to do it:

                  1. In your Wordpress dashboard go to Settings, then General, you'll see there Wordpress URL and Blog URL, just add the www to the URLs and you're good to go.

                  2. The second thing to do, although it's a bit more complicated but not at all difficult, is to register your site in Google Webmaster Tools (which is always good to do for all your sites!). After you open an account you get to "add a site". You should add both www.yoursite.com AND yoursite.com. and verify both of them. Then you go to Site Configuration then to Settings. Here they ask you for your geographic target, which is sometimes very important if your site is targeted at a certain geographic region, but they also ask you for your preferred domain, so you can tell Google if you want your domain with or without www. This is also VERY important in terms of backlinks, since you actually tell Google to consider all your backlinks as pointing at www and so your backlinks count is not divided between the two.

                  Thanks
                  Omri
                  {{ DiscussionBoard.errors[1528481].message }}
            • Profile picture of the author scrofford
              Originally Posted by omrid1 View Post

              Hello
              I also have a reseller account with Host Gator.
              You need to do a 301 redirect otherwise your site will be treated as 2 sites.
              This is fairly simple, here it goes:

              Locate your .htaccess file (in the public_html) directory & Add the following code:

              RewriteEngine on
              RewriteCond %{HTTP_HOST} ^([a-z.]+)?example.com$ [NC]
              RewriteCond %{HTTP_HOST} !^www. [NC]
              RewriteRule .? http://www.example.com%{REQUEST_URI} [R=301,L]


              substituting the example.com domain with your site information

              PS
              You can find out more information about this at the following host gator support:
              Apache mod_rewrite and examples HostGator.com Support Portal

              I hope this helps
              Thanks
              There is no reason to do this as this is web 2.0 technology and what you are proposing isn't the problem. Actually there is no problem.
              {{ DiscussionBoard.errors[1529228].message }}
    • Profile picture of the author ExRat
      Hi Sarah,

      What site builder are you using? Wordpress?

      (Just seen your latest post)-

      What type of hosting account? A baby type one with addon domains, or a reseller?
      Signature


      Roger Davis

      {{ DiscussionBoard.errors[1528345].message }}
  • Profile picture of the author loginname
    I use hostgator and this has happend to me also

    I contacted hostgator and a technican had fixed the problem within 5 minutes. He also updated my wordpress installation, he said he had to tell wp about www
    {{ DiscussionBoard.errors[1528343].message }}
  • Profile picture of the author Agnel
    Did you access it by http://www. mysite .com If so, what is the msg you get.
    {{ DiscussionBoard.errors[1528364].message }}
    • Profile picture of the author sarahstaar
      Originally Posted by Agnel View Post

      Did you access it by http://www. mysite .com If so, what is the msg you get.

      if i put the address in with www it just changes to http://
      {{ DiscussionBoard.errors[1528368].message }}
      • Profile picture of the author sarahstaar
        the strange thing is that i am doing things the same way for the last two years, and this has only started happening this month ??
        {{ DiscussionBoard.errors[1528372].message }}
      • Profile picture of the author megaresp
        Originally Posted by sarahstaar View Post

        if i put the address in with www it just changes to http://
        And that's exactly what is meant to happen (or the vice versa where non-www switches to www). You have absolutely nothing to worry about. Your domains are set up correctly.

        Where people can go wrong is where they allow both www and non-www. Google says it has a problem with this, though I haven't ever seen evidence of it personally. I suppose they may consider it duplicate content, which is mind-numbingly brain-dead on their part.

        In my case, I also have domains switch to the non-www version. I do this in the apache config for the server (httpd.conf).

        In the config, I can specify the serverName and serverAlias. One will be the www version of the domain, the other the non-www version. I then turn on the apache mod rewrite engine and specify rewrite condition to switch to the non-www version.

        It looks like your hosting provider is doing all this for you, which is a good thing as it saves you from having to learn such arcane things. I can assure you, knowing about this stuff won't help you get girls/boys [circle preferred], make friends, or otherwise enjoy a long and healthy life
        Signature

        66 ways to get links (and traffic) to your site.

        {{ DiscussionBoard.errors[1528627].message }}
  • Profile picture of the author Robert Puddy
    you dont need www anymore... does anyone still type that in ?

    in the search engines http://yourite and http://www.yoursite is seen as 2 different pages, so you water down your rank if you have both
    {{ DiscussionBoard.errors[1528945].message }}
  • Profile picture of the author Istvan Horvath
    1. You don't really need the "www" part in your URL.
    2. WWW is a subdomain of your domain:
    www.example.com
    something.example.com - they both are subdomains!
    3. G. indexes subdomains as separate sites, that's why you need to tell it to use only one.

    (P.S. There is even a movement to get rid of www - )
    Signature

    {{ DiscussionBoard.errors[1529053].message }}
    • Profile picture of the author blur
      Yup -

      You are ok and this is good there is no www for your domain.

      www.yourdomain.com and .yourdomain.com are two different pages to google and therefore will have 2 different pageranks. By only having the .yourdomain.com your pagerank stays at that page.

      This is good!
      Signature

      {{ DiscussionBoard.errors[1529071].message }}
  • Profile picture of the author scrofford
    Originally Posted by sarahstaar View Post

    For some reason whenever i set up a new site it is always http:// mysite . com and has no www why is this ??

    I am using cpanel. The strange thing is this is happening with host9 and hostgator, i get my domain names from godaddy.
    Welcome to web 2.0. You don't have to use the "www" anymore (usually) for any site that you go to. And actually you can usually just put the domain name and the .com or .org or what not without the http://.

    To see what I am talking about just go to your address bar and put in your fav website name without the www or http:// and put the .com or what not and it will take your right there.
    {{ DiscussionBoard.errors[1529207].message }}

Trending Topics