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.

Ask HN: Add “www.” to my domain, or not?

16 pointsby _dt47almost 9 years ago
Old question, but I would like to hear what you have been doing with your projects lately.<p>Any thoughts?

11 comments

meesterdudealmost 9 years ago
The main reason to use www is because you can&#x27;t CNAME a apex domain, but you can on a subdomain. Sometimes this matters - and other times it doesn&#x27;t. For my day job at an internet hosting company, we use www for our clients so we can CNAME their locations.
评论 #12203731 未加载
niftichalmost 9 years ago
Obligatory:<p>[1] <a href="http:&#x2F;&#x2F;no-www.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;no-www.org&#x2F;</a> (scroll all the the way down)<p>[2] <a href="http:&#x2F;&#x2F;www.yes-www.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.yes-www.org&#x2F;</a>
NeutronBoyalmost 9 years ago
If your TLD is recognisable (e.g. .com, .net, .org) then no need - people will recognise it as a domain.<p>However, if you&#x27;ve got a new-fangled TLD (.recipies, .shoes, etc) then use &#x27;www&#x27; - without context, people aren&#x27;t going to recognise [redacted] as a URL, but they will recognise [redacted] as one.
walrus01almost 9 years ago
Your DNS should always have both that go to the same httpd, or is this a question about advertising, business cards etc?
UnoriginalGuyalmost 9 years ago
I add it, but redirect away from it. Some users have it engrained to add the www.* to everything, giving them a DNS error isn&#x27;t ideal.
WheelsAtLargealmost 9 years ago
Yes,it&#x27;s simple enough to add to the DNS and have both. Many of the everyday users I&#x27;ve worked with seem to want to add it to all the browser urls they type in. It doesn&#x27;t matter if the original has it or not.
skiltzalmost 9 years ago
Personally I&#x27;ve been ditching the www but either is fine. Pick one and stick with it, don&#x27;t mix and match. Always use https.
评论 #12199144 未加载
lovelearningalmost 9 years ago
If you type any word in Chrome&#x2F;FF and press Ctrl+Enter, they automatically prefix &quot;www.&quot; and suffix &quot;.com&quot;. It&#x27;s a shortcut a lot of users have got used to by now. So, at the very least, make sure www doesn&#x27;t give a 404. I set up DNS to redirect my main domains to their www.
exolymphalmost 9 years ago
I use www for the canonical domain and redirect the bare domain to the www version.
AndyMcConachiealmost 9 years ago
Why not just use both and have them host the same things?<p>It&#x27;s what I do. example.com www.example.com<p>They both host the same thing and have the same TLS cert.
评论 #12199466 未加载
MattBearmanalmost 9 years ago
I personally use www. simply for the symmetry. To me, www.bugmuncher.com looks a lot nicer than just bugmuncher.com