News for hackers. Stuff that matters.
Re:Why use www? by lkrubner on Sunday January 31, 2016 @03:24PM (#11007893)
Do you a think a user should have to write:

http://www.apple.com:80/

or:

http://www.apple.com/

Ever since the first web browsers, way back in the early 1990s, it has been commonplace to leave out the port number. The web browser adds it automatically.

Similar logic would lead us to leave off the "http". And similar logic would lead us to leave off the "www". The trend has been to simplify the URL as much as possible.

Re:Why use www? by ldjb on Sunday January 31, 2016 @03:35PM (#11007933)
Nobody is suggesting the user should be forced to type in the protocol, the subdomain, or the port number. If the user types in:

apple.com

It should lead to where the user wants to go.

However, there are good reasons for using the www subdomain as the canonical URL, and it is also worth noting that some users will habitually type in www anyway.

If you don't want to include the subdomain in marketing material, then there's nothing stopping you from leaving it out, just as there's nothing stopping you from leaving out the protocol.

Re:Why use www? by dalore on Tuesday February 02, 2016 @03:56AM (#11018339)
And even just typing:

apple

Should lead to where they want to go.

Re:Why use www? by rootkea on Tuesday February 02, 2016 @01:55PM (#11021523)
Which leads to 127.0.53.53 on Iceweasel 38.5.0 https://www.icann.org/namecollision
Re:Why use www? by geofft on Sunday January 31, 2016 @03:38PM (#11007943)
From the article:

Should I redirect no-www to www?

Yes.

Redirection ensures that visitors who type in your URL reach you regardless of which form they use, and also ensures that search engines index your canonical URLs properly.

So I don't think you're advocating anything they don't.

Re:Why use www? by efaref on Sunday January 31, 2016 @07:51PM (#11008943)
Annoyingly, this can be difficult to do if the A record for your domain doesn't point to a webserver. There are other legitimate things it could point to, like an authentication domain controller or a session border controller. Do you really want to be running a webserver there, even if it's only redirecting?
Re:Why use www? by geofft on Monday February 01, 2016 @07:46AM (#11011419)
I'm not familiar with session border controllers, but DCs can be and usually are placed somewhere at the apex of the domain, via SRV records.

If you really have trouble, you can tell your firewall to route ports 80 and 443 to another machine and everything else to the device you need. (I've run a hackier version of this that used netcat inside inetd: we didn't want a web server on the machine that owned the domain name, but there was another nearby web server cluster that we added a virtual host to. And we were fine running inetd and netcat on the machine.)

Re:Why use www? by seanp2k2 on Monday February 01, 2016 @03:13PM (#11015022)
I've done something similar but using iptables and dnsmasq to route DNS differently depending on where the requests were coming from and what domain they were asking about.
Re:Why use www? by devishard on Sunday January 31, 2016 @10:04PM (#11009417)
Your argument that eliding the www is better for users is logical, but you failed to make any argument whatsoever that it is significant. Given that you were responding to a statement that the difference isn't significant, you're basically attacking a straw man.