Adding www to my site?

Discussion in 'Site & Server Administration' started by bnts, Dec 15, 2006.

  1. #1
    Hi, will someone please guide me on how to add a www to my addon domain in my cpanel? The addon domain I added is displayed only when I type in http://domain.com but not when I type in www.domain.com :confused:

    Thanks :)
    bnts
     
    bnts, Dec 15, 2006 IP
    Pammer and Raj Kumar like this.
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if you have added the domain recently (and changed nameservers), then give it 1-2 days for propagation, else your zone records has a missing A record for www.
     
    agnivo007, Dec 15, 2006 IP
    bnts likes this.
  3. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Just now, I realised that the www format is indeed working when someone tried to open it up. But it is still not working here. I will wait for some days and see.

    Thanks for the reply agnivo007 :)
     
    bnts, Dec 15, 2006 IP
  4. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #4
    no problem...keep us updated.
     
    agnivo007, Dec 16, 2006 IP
  5. ub3r

    ub3r Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    cPanel actually creates a cname record for WWW, as well as FTP, with every new account that's created.
     
    ub3r, Dec 17, 2006 IP
  6. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #6
    Does this imply also to every new addon domain added to an existing account? I am still waiting to see a www before my domain. http:// mysite.com is working but http:// www. mysite.com still not available :(
     
    bnts, Dec 17, 2006 IP
  7. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #7
    What's your site then?
    I'll give it a try
     
    Richie_Ni, Dec 17, 2006 IP
    bnts likes this.
  8. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #8
    bnts, Dec 17, 2006 IP
    Richie_Ni likes this.
  9. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #9
    Richie_Ni, Dec 17, 2006 IP
  10. Pammer

    Pammer Notable Member

    Messages:
    3,417
    Likes Received:
    397
    Best Answers:
    0
    Trophy Points:
    260
    #10
    Pammer, Dec 17, 2006 IP
  11. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #11
    But here only http://jmoca.net is working :( And thanks for the complement (though I have just installed new WP :D)
    Yes, I just changed the server and haven't yet updated the blog even. I think I should wait for it to get updated to www form:)

    Thanks Pammer and Richie, I think it should also work here soon.

    @Pammer: hey I will reply your secret question soon, cos I can't right now:D
     
    bnts, Dec 17, 2006 IP
  12. pr0xy122

    pr0xy122 Peon

    Messages:
    1,649
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #12
    007s right, I had the same issue, this usually fixes it.
     
    pr0xy122, Dec 17, 2006 IP
  13. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #13
    Hi, Proxy122, has your issue been fixed? how many days it took to propagate the update in your case?

    Thanks,
    bnts
     
    bnts, Dec 17, 2006 IP
  14. ub3r

    ub3r Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Each work okay for me. Your computer is probably holding a cache of the www. record returning an NXDOMAIN error.

    Check the domain on dnsreport.com next time you have trouble. If that doesn't work, check squish.net/dnscheck/ .
     
    ub3r, Dec 17, 2006 IP
  15. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #15
    Oh..thanks for this two links - dnsreport.com and squish.net :), just realized that both are working fine here also now;)

    Thanks everyone for the input.
    Cheers,
    bnts
     
    bnts, Dec 17, 2006 IP
  16. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #16
    You can clear your local DNS/ARP cache (windows pc) by right clicking the LAN icon on system tray > Repair.
     
    agnivo007, Dec 17, 2006 IP
  17. jac666

    jac666 Active Member

    Messages:
    182
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #17
    it can also be done using .htaccess file. search on google u will find the code to add.
     
    jac666, Dec 18, 2006 IP
  18. bnts

    bnts Well-Known Member

    Messages:
    2,329
    Likes Received:
    310
    Best Answers:
    0
    Trophy Points:
    165
    #18
    Thanks for all the advice guys.
    @jac666: Never done any .htaccess before, though I will search it right now :) thanks.
    @agnivo: Thanks for that :)
     
    bnts, Dec 18, 2006 IP
  19. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #19
    jac666, thats not what bnts requires in this thread.

    Anyway, if someone requires .htaccess code for http - > www redirection, its:

    
    RewriteEngine On
    
    ## Custom Direct all to www
    
    RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
    
    Code (markup):
    Replace "domain" and "com" with respective values.
     
    agnivo007, Dec 18, 2006 IP
  20. jingquan

    jingquan Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    hmm...never noticed there's a difference, thanks for these info.
     
    jingquan, Dec 19, 2006 IP