Hacker News new | ask | show | jobs
by equinoxnemesis 429 days ago
Not allowed for gTLDs. Some ccTLDs do it, http://ai/ resolved as recently as a year ago though I can't get it to right now.
3 comments

You need a dot at the end for it to resolve correctly

https://ai.

It’s unreachable anyway

That is cursed
It is not, it is for your local resolver to distinguish a top-level domain from a subdomain (i.e. `foo` gets rewritten to `foo.mydomain.com` or `foo.local`)

man resolv.conf, read up on search domains and the ndots option

You're currently browsing `news.ycombinator.com.`[0].

[0]: https://jvns.ca/blog/2022/09/12/why-do-domain-names-end-with...

https://xn--l1acc./ and https://uz./ connect, though there's a cert issues in both cases.
Going by the Wayback Machine it looks like it used to redirect to http://www.ai, which still works, but only over HTTP.
Well of course http://www.ai would work. That's no different from http://foo.ai .

http://uz./ serves a 500 error.