I know how www.example.com can be different from example.com. But is there really a need? Most of the time we end up setting both, www.example.com and example.com to the same IP. Is it still used only to make it more readable!?
Asked
Active
Viewed 4,122 times
2 Answers
15
I guess it's because people are so used to typing it in. You could do what twitter does and redirect www.example.com -> example.com, eventually it trains people not to put it in.
The only technical reason I can think of is that you cannot have CNAMEs for root domains, thus if you're using a CDN to host your website then you usually have to have it going from www or another subdomain.
Andrew Schulman
- 8,916
Noodles
- 1,396
6
- www.example.com is obviously a webserver
- mail.example.com is obviously an SMTP server
- dns.example.com is obviously a DNS server
Sure, www.example.com can be shortened to example.com but speaking only for myself, I like things to be explicitly defined. Less confusion and easier to troubleshoot.
user1174838
- 616
CNAMEproblem is the killer one that everyone forgets. +many, if I could. – MadHatter May 07 '14 at 04:43CNAMEis not really even intended for the purpose it is mostly used nowadays. It's reallySRVthat should solve this and more, which it does for many "new" protocols but it doesn't really seem like it's going to happen for http as it requires support in the client. All those chickens and eggs... – Håkan Lindqvist May 07 '14 at 05:18