Hacker News new | ask | show | jobs
by selcuka 1478 days ago
To all who can't replicate it: Clicking a link, copy/pasting the URL, and typing it from the keyboard all behave differently. Make sure that you manually type

    http://ai/
into the location bar (do not use https). Also try with and without the trailing slash.
2 comments

Safari on macOS will not load this address. It does resolve, weirdly, "host" in the Terminal works and I can see Safari's requests being answered by my home DNS server in the logs.

But Safari just throws an error: Can't connect to the server "ai".

Update: It works if you include a trailing dot: http://ai.

Update 2: HN's URL parser does not include the dot in the hyperlink. Frustrating.

http://ai. Works in safari for iOS, shockingly.
Huh. It does not work on my iPhone. Same error. I wonder what the difference is.
The link didn't include it, but try again with the trailing '.' period
Aha, yes, this works.
Weird. `dig` on macOS does not resolve it but `host` does.
That's interesting. dig works for me.

I suspect all these difference depend on what DNS server you are using.

The proper URI should be "http://ai." (with the ending dot)