News for hackers. Stuff that matters.
Re:Google adds experimental setting to hide full URLs in Chr... by chiefsucker on Sunday June 14, 2020 @07:20AM (#23516831)
A common convention with system administrators is to have the canonical name at www.* and redirect www-less requests to the former. If you argue that a browser implementation should fix uncommon configurations, I would argue that administrators should fix their configurations in the first place.

You don’t have this issue at all for domains that don’t have a www subdomain.

Furthermore it would be extremely confusing to have different content for www.example.com & example.com.

Re:Google adds experimental setting to hide full URLs in Chr... by neurostimulant on Sunday June 14, 2020 @07:31AM (#23516892)
Yeah, I don't like the current trend to redirect www to root. You can easily doing simple dns-based load balancing by having multiple ip addresses on the www subdomain. You can't do that on root domain, you'll have to use a dedicated load balancer even if all you want is just simple load balancing among a small set of servers. It only benefit cloud vendors and hurt hobbyist/small website operators if this trend continues to the point that visitors expect all websites to be served from root insetad of www.
Re:Google adds experimental setting to hide full URLs in Chr... by Dylan16807 on Sunday June 14, 2020 @09:31AM (#23517519)
If we could ever be bothered to implement SRV records for http then load balancing and failover could be significantly more straightforward and robust, without worrying about root vs. www at all.
Re:Google adds experimental setting to hide full URLs in Chr... by NateEag on Sunday June 14, 2020 @08:09AM (#23517093)
I also dislike the trend to redirect the 'www' prefix to root.

My company uses DNS load balancing for a root domain, though, so either I'm misunderstanding you or you're mistaken about what's possible here.

We use Constellix's DNS management to have round-robin DNS via multiple A records for 'nxtbook.com'.

If you're thinking of some other form of DNS load balancing, would you please clarify?

Re:Google adds experimental setting to hide full URLs in Chr... by neurostimulant on Sunday June 14, 2020 @08:25AM (#23517183)
Multiple A records is fine on root domain, but root can't use CNAME, which is used by some people to implement their dns load balancing (I use cname so I forgot that you can still do it using A records). By using root domain instead of www, your options for load balancing is diminished.

Edit: another common use case is hosting your static website on S3 or github pages. Typically it's done by adding a cname entry to s3 or github.io (been a while so hopefully I remember it right). You can't do this on root, unless you're using another server as reverse proxy (e.g. cloudflare's cname flattening service). Again, it's benefits cloud vendors (cloudflare got more potential customers by offering this service for free) but ultimately hurt people that want to host their small websites.

Re:Google adds experimental setting to hide full URLs in Chr... by NateEag on Sunday June 14, 2020 @01:58PM (#23519746)
Ah, gotcha. We CNAME a lot of things precisely so we don't have to mess with multiple A records.

Definitely simpler, and a good argument against using the root domain.

Thanks for clarifying!

Re:Google adds experimental setting to hide full URLs in Chr... by wolco on Sunday June 14, 2020 @08:02AM (#23517065)
Redirecting a subdomain to root should be a choice not forced.