Remix.run Logo
QuantumNomad_ 2 hours ago

example.com is also great for that reason when something fails about a captive portal on a public WiFi.

I open my web browser and go to http://example.com and get redirected to the captive portal page again and retry completing what they need from me to get internet access.

some_random 2 hours ago | parent | next [-]

Fun fact, this is almost exactly how active portal detection is done in the OS/browser!

https://gist.github.com/skull-squadron/edb8c0122f902013304c0...

QuantumNomad_ an hour ago | parent [-]

Yep :) I just find example.com easier to remember and quicker to type than any of the OS or browser makers own URLs like

- http://captive.apple.com/

- http://connectivitycheck.gstatic.com/generate_204

- http://detectportal.brave-http-only.com/

Plus, it feels nice to depend on the reserved domain name example.com instead of relying on a domain that any one specific corporation has to maintain :D

1f60c an hour ago | parent [-]

Also http://detectportal.firefox.com. And http://neverssl.com was set up for this purpose while being a bit easier to remember :)

LeoPanthera an hour ago | parent | prev [-]

I use neverssl.com for this purpose because it is designed to resist caching.