1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Domain Name with no 'www'

Discussion in 'Domain Names' started by dynashox, Mar 4, 2008.

  1. #1
    Hi guys,

    I don't know if this had been asked before or not. I just want to know, is it possible to make my domain look like this:

    http://www.hardwaretechreview.com

    Because although i type the www, it still go back to like this : http://hardwaretechreview.com

    I want the 'www' thing.... If possible, please guide me or just tell me where can i get the info related to this thing.

    Thanks.
     
    dynashox, Mar 4, 2008 IP
  2. unlim_hosting

    unlim_hosting Banned

    Messages:
    75
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ask your web host to fix this :)
     
    unlim_hosting, Mar 4, 2008 IP
  3. Austars

    Austars Active Member

    Messages:
    1,437
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    95
    #3
    My host is dreamhost, and depending on whose yours is you should be able to go into options and change what it reverts to automatically.
     
    Austars, Mar 4, 2008 IP
  4. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #4
    I'm using Hostgator. So all this can be done inside the CPanel??
     
    dynashox, Mar 4, 2008 IP
  5. Austars

    Austars Active Member

    Messages:
    1,437
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    95
    #5
    I can't say for sure, dreamhost has its own custom backend I think. I just did a quick search and google and couldn't find anything either, sorry.
     
    Austars, Mar 4, 2008 IP
  6. magyar

    magyar Peon

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I was just wondering the Exact same thing! Does anyone know??
     
    magyar, Mar 4, 2008 IP
  7. TroyM

    TroyM Well-Known Member

    Messages:
    520
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #7
    Point your hardwaretechreview.com to your IP on ur DNS excatly the way you do for www .. In this case www part will be empty ... If you use IIS web server.. configurate it for hardwaretechreview.com also...

    That is it.........
     
    TroyM, Mar 4, 2008 IP
  8. ~WAYNE~

    ~WAYNE~ Peon

    Messages:
    279
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    almost all sites you do not need to type in www. as it is faster to type it without worrying about it.
     
    ~WAYNE~, Mar 4, 2008 IP
  9. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #9
    if its cpanel you need not worry about it. As otherwise just create a DNS A record for your domain for www.
     
    olddocks, Mar 5, 2008 IP
  10. DopeDomains

    DopeDomains Guest

    Messages:
    207
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Actually, You just need to set up a .htaccess (or edit what is there) so it reads:
    
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.your_domain.com$
    RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
    
    Code (markup):
    That will force it to always go to www.your_domain.com even if someone get's there by going to your_domain.com

    if you already have a .htaccess:
    • Back it up
    • you only need "rewriteEngine on" once in the file.
    • If you have another "RewriteCond" line that includes HTTP_HOST that is probably what is causing the site to go to the non www address. and you will need to reconcile the two.
    -Jason
     
    DopeDomains, Mar 5, 2008 IP
  11. GT6

    GT6 Well-Known Member

    Messages:
    106
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #11
    GT6, Mar 5, 2008 IP
    dynashox likes this.
  12. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #12
    Lol.... I never thought this was so easy. The problem solved.

    Thanks for your help. I just green rep you. :D
     
    dynashox, Mar 5, 2008 IP
  13. ColorWP.com

    ColorWP.com Notable Member

    Messages:
    3,121
    Likes Received:
    100
    Best Answers:
    1
    Trophy Points:
    270
    #13
    The problem here will be that the www version will also work and you will get a lot of duplicate content in the search engines. Thats why you need to also put the htaccess redirection method mentioned below:

     
    ColorWP.com, Mar 6, 2008 IP
  14. jorel

    jorel Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14

    that would be the perfect option, no other script can replace that.
     
    jorel, Mar 8, 2008 IP
  15. GreenGambler

    GreenGambler Notable Member

    Messages:
    1,841
    Likes Received:
    117
    Best Answers:
    0
    Trophy Points:
    200
    #15
    Ha, I never even knew this was an issue, posibility. Learn something new every day:)
     
    GreenGambler, Mar 8, 2008 IP
  16. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #16
    I agree with you. Thats why I love DP so much. Issue any problem, and I bet someone else will have answer to it. :D
     
    dynashox, Mar 8, 2008 IP