4 ms·
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
by userbinator 10y ago
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 https://localhost , and no doubt many of you will be familiar with intranet sites that use similar "non-qualified" single-label names.
- strunz 10y ago"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 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 http://intranet.somecompany.com under the hood.
- jameshart 10y agoThat '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/ http://somehost/ and http://somehost./ 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/ http://news.ycombinator.com/ and http://news.ycombinator.com./ 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.