News for hackers. Stuff that matters.
Re:The History of the URL: Path, Fragment, Query, and Auth by bduerst on Monday July 18, 2016 @04:44PM (#12117962)
Just a random URL fact: the TLDs for domains could technically be used as domains as well, if ICANN ever allowed it.

It wouldn't make sense for TLDs like com, net, org, etc., but for trademarked TLDs like barclays, youtube, pwc, etc. visitors could essentially go straight to that webpage with the TLD, like https://youtube

Re:The History of the URL: Path, Fragment, Query, and Auth by userbinator on Monday July 18, 2016 @10:16PM (#12119119)
the TLDs for domains could technically be used as domains as well

That's because they... actually are domains too. Top Level Domains, as the acronym says.

It wouldn't make sense for TLDs like com, net, org, etc.

Actually it might --- that's a great place to put all the information about (and maybe instructions on how to register) a subdomain there.

But, to use the precise terminology, a domain name with a single 'label' has historically been treated as a "relative" domain, e.g. https://localhost , and no doubt many of you will be familiar with intranet sites that use similar "non-qualified" single-label names.

Re:The History of the URL: Path, Fragment, Query, and Auth by jameshart on Tuesday July 19, 2016 @01:18PM (#12123110)
That 'relative domain' problem is not specific to one-word domain names. In fact, ALL domains that don't end in '.' are considered 'relative' domains. There's a difference between http://somehost/ and http://somehost./ - the first says 'look for somehost in any of the available default domains', while the second says 'look for a top level domain name called localhost'. Likewise http://news.ycombinator.com/ and http://news.ycombinator.com./ are handled differently - the first is actually also considered as a relative URL, and tried against all your local DNS suffixes before being tried against the root.
Re:The History of the URL: Path, Fragment, Query, and Auth by strunz on Monday July 18, 2016 @11:54PM (#12119482)
"Single name domains" as you refer to them usually only work because your DNS search domains are filling the rest in for you. This is why people who work for somecompany.com can simply go to http://intranet , because their DHCP server has somecompany.com in the DNS search domains and the browser/OS will be resolving it to http://intranet.somecompany.com under the hood.
Re:The History of the URL: Path, Fragment, Query, and Auth by seanp2k2 on Monday July 18, 2016 @05:51PM (#12118265)
Most of the time, www.TLD goes somewhere, but instructing non-technical users to visit "www.example" would likely confuse them much more than owning "example.com" with a CNAME set up for "www.example.com" as well. gTLDs are, IMO, a stupid cash grab which may or may not harm domain squatters.
Re:The History of the URL: Path, Fragment, Query, and Auth by bduerst on Monday July 18, 2016 @06:34PM (#12118420)
Well, if you look at the history of URL use in the public offline realm, it keeps getting shorter.

URLs started as "http://www.example.com" in the late 90's, and then went to "www.example.com", and are now mostly "example.com". For major trademarks, it could be the natural progression to just go to "example". Or not - internet use is weirdly unpredictable.

Re:The History of the URL: Path, Fragment, Query, and Auth by pfranz on Monday July 18, 2016 @10:12PM (#12119109)
My guess is that it'll stick to "example.com" unless we switch to a proprietary service (like Facebook or Twitter). A nice thing about "example.com" is that it gives you enough context to know it's a web address and you type it in your browser. Thinking back to AOL, they always had to say "AOL Keyword: Example" or "Keyword: Example" to give you enough context. Years ago maybe doing something like having it blue and underlined might have caught on and let you just use the word?

One way it could be shorter and keep context is if we hijacked a special character like Twitter does #example or @twitter--but I can't imagine standards bodies getting on board with using a special character (or trying to get people to adopt it as a replacement for web URLs).

Re:The History of the URL: Path, Fragment, Query, and Auth by pfranz on Tuesday July 19, 2016 @03:35PM (#12124219)
One way I just thought of that wouldn't sacrifice a special character would be to come up with some symbol that means URL and have web browsers use that next to their URL bar. Could be an emoji-like symbol--maybe something similar to the html5 shield? But luck getting everyone on board with that.
Re:The History of the URL: Path, Fragment, Query, and Auth by theandrewbailey on Monday July 18, 2016 @05:08PM (#12118069)
Generic TLDs have mostly solved that.
Re:The History of the URL: Path, Fragment, Query, and Auth by rhizome on Monday July 18, 2016 @05:09PM (#12118075)
There was a push for custom TLDs once upon a time.
Re:The History of the URL: Path, Fragment, Query, and Auth by bduerst on Monday July 18, 2016 @05:26PM (#12118143)
Solved what?
Re:The History of the URL: Path, Fragment, Query, and Auth by digi_owl on Monday July 18, 2016 @05:32PM (#12118174)
If you are thinking about .xyz and similar, you still have to have another domain below those. you can't simply register xyz and have it point directly at a server.
Re:The History of the URL: Path, Fragment, Query, and Auth by Symbiote on Monday July 18, 2016 @06:25PM (#12118381)
Sure you can: http://ai./ (there are other CCTLDs doing this).

Only one new TLD does this, and the page is empty: http://мон./ or http://xn--l1acc./

Re:The History of the URL: Path, Fragment, Query, and Auth by colejohnson66 on Monday July 18, 2016 @06:38PM (#12118429)
And now that Google owns the TLD `google' with their whole com.google thing a while back, what's to stop them from setting up https://google./? Is there any technical reason? Do you have to go through ICANN?
Re:The History of the URL: Path, Fragment, Query, and Auth by djsumdog on Monday July 18, 2016 @09:51PM (#12119044)
I think you're mistaken. There isn't a TLD for google. Under some of the ICANN proposals, that would have been possible, but to date I don't think it's been done.
Re:The History of the URL: Path, Fragment, Query, and Auth by colejohnson66 on Monday July 18, 2016 @10:45PM (#12119221)
Re:The History of the URL: Path, Fragment, Query, and Auth by scrollaway on Tuesday July 19, 2016 @01:38AM (#12119960)
They officially host their domain registration website on domains.google, too:

https://domains.google/