TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

To www or not to www?

13 pointsby kn9over 11 years ago
WWW or not WWW, What should I choose as my site name?

8 comments

purephaseover 11 years ago
I&#x27;m surprised at the www supporters. Do not do this. Down the road, you will want to use subdomains (app.example.com, dashboard.example.com) and choosing www out of the gate will make it more complicated then it&#x27;s worth. If HTTPS is required, then a certificate with www will always get in the way, get a non-www and add a subject alternative name, or get a wildcard.<p>It is much, much easier to redirect all non-www traffic to www if a subdomain is not specified then otherwise and a wildcard or SAN-enabled certificate will make it much more flexible in the future.
评论 #7164878 未加载
评论 #7167418 未加载
tedivmover 11 years ago
With &quot;www&quot;. That makes it a lot easier to add in CDN support, DNS based load balancers, and a ton of other tools down the line.<p>Why? Because you need your domain root to have all sorts of other stuff in it- MX records, SPF keys, and various other things. A lot of CDNs and DNS based tools work really well by utilizing CNAMEs, which you can&#x27;t do on the root. Putting your website on &quot;www&quot; keeps is as a separate isolated service and makes adding those services easier down the line.
评论 #7164600 未加载
评论 #7189227 未加载
评论 #7164647 未加载
throwaway420over 11 years ago
As a technical person, I can recognize a URL when I see it and prefer the non-www version for brevity&#x27;s sake.<p>But many non-technical people cannot understand if something is a website URL without the WWW in front of it. It&#x27;s probably best to add WWW if your target audience is normal humans.
评论 #7165834 未加载
_pcpeover 11 years ago
I prefer no WWW because that makes the domain look shorter and and hence easier to remember.
pwgover 11 years ago
Just map both to the same site.<p>Problem solved.
评论 #7165064 未加载
yen223over 11 years ago
Is there any downside to having both point to the same place?
评论 #7164822 未加载
评论 #7164703 未加载
评论 #7164996 未加载
jacob_smithover 11 years ago
Is there a reason both aren&#x27;t registered at the same time? i.e., why does it matter which one I point to in a url&#x2F;link&#x2F;script&#x2F;etc.?
lingbenover 11 years ago
doesn&#x27;t really matter, just be <i></i>consistent<i></i>