Live data from Hacker News

Shortest URLs on the Internet

jameswillia.ms

41–50 of 208 posts

Re: Shortest URLs on the Internet

#41
post #11

At one point of time, ` http://to ` resolved to a "It works!" page [1]. I've always thought it would be cool to have a URL shortener with links such as ` https://to/library ` or something similar. Oh, how much fun running your own TLD would be... [1] https://web.archive.org/web/20150319211308/http://to/

I bought the punycode domain {emoji_rabbit}.to (i.e. "hop to") intending to build a url shortner. But I never did anything with it and let it expire. And now it doesn't seem like .to even lets you buy emoji domains anymore. I kind of wish I had held on to it.

Re: Shortest URLs on the Internet

#42
post #11

At one point of time, ` http://to ` resolved to a "It works!" page [1]. I've always thought it would be cool to have a URL shortener with links such as ` https://to/library ` or something similar. Oh, how much fun running your own TLD would be... [1] https://web.archive.org/web/20150319211308/http://to/

It was a link shortener for a while! I used to use it.

It appears to have been archived in Japanese, but: https://web.archive.org/web/20120103092225/http://to/

Re: Shortest URLs on the Internet

#43
post #23

Cool to know, i guess. TIL that dotless record on newer gTLDs is forbidden, which explains my age-old question: "if google holds google., why are they only using it on domains.google? Surely having the url https://google would be desirable for the folks in marketing?". The answer is that they can't possibly because the ban was added precisely because of this.

Google actually serves a bunch of pages through their TLD: https://en.wikipedia.org/wiki/.google

Google Search is actually a useful way to find sites on a TLD:

https://www.google.com/search?q=site%3Agoogle https://www.google.com/search?q=site%3Agle https://www.google.com/search?q=site%3Agoog

Re: Shortest URLs on the Internet

#47
post #28
post #11

At one point of time, ` http://to ` resolved to a "It works!" page [1]. I've always thought it would be cool to have a URL shortener with links such as ` https://to/library ` or something similar. Oh, how much fun running your own TLD would be... [1] https://web.archive.org/web/20150319211308/http://to/

At Google and many other tech companies, internal machines are configured to have go/ work just like you describe. Looks like someone even made a whole company around it https://www.golinks.com/blog/go-links-history/

A problem with this approach is browsers love to resolve it to http://go.com, so Disney may be getting a feed of what Googlers are interested in.

Re: Shortest URLs on the Internet

#48
post #35
post #32

Earlier quoted context omitted.

Sure, but why do the two different versions of curl give different results? With 7.64.1: % curl --dump-header /dev/tty 'http://1.1/' HTTP/1.1 403 Forbidden Date: Sun, 11 Sep 2022 19:01:53 GMT Content-Type: text/plain; charset=UTF-8 Content-Length: 16 Connection: close X-Frame-Options: SAMEORIGIN Referrer-Policy: same-origin Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-chec…

Curl wasn’t able to normalise ip adresses till this commit [0] [0] https://github.com/curl/curl/commit/56a037cc0ad1b2a770d0c08d...

Indeed - so while it's hitting Cloudflare, the 1.1.1.1 IPs are all technically vhosts for `cloudflare-dns.com`, so a good `host` header in the request is required to reach it.

For this reason, you could use a CNAME setup[0] and instead of using CNAMEs for proxied subdomains, you input 1.1.1.1 A records in your authoritative dns, and everything on Cloudflare's side will still see your hostname in the host header / SNI, and your website will load.

0: https://developers.cloudflare.com/dns/zone-setups/partial-se...

Re: Shortest URLs on the Internet

#50
post #47
post #28

Earlier quoted context omitted.

At Google and many other tech companies, internal machines are configured to have go/ work just like you describe. Looks like someone even made a whole company around it https://www.golinks.com/blog/go-links-history/

A problem with this approach is browsers love to resolve it to http://go.com , so Disney may be getting a feed of what Googlers are interested in.

I mean, have fun? You're gonna get most stuff like go/thor-design or go/zanzibar. It's not as if go links are go/our-disney+-competitor.
Post reply on HN