News for hackers. Stuff that matters.
Re:.localhost Domains by jeroenhd on Thursday April 10, 2025 @11:05AM (#43644573)
Using real domain names lets you experience the web as it is in production. Localhost has a bunch of exceptions (i.e. HTTP URLs are treated as secure, CORS acts funny, etc.). Using domain names disables special handling of localhost URLs that'll help you spot problems before they hit production.
Re:.localhost Domains by vlod on Thursday April 10, 2025 @11:08AM (#43644611)
Thanks. This is the reason I wanted rather then convenience of not typing a port number (which I'd use a bookmark for, so I really don't care)
Re:.localhost Domains by ghoshbishakh on Thursday April 10, 2025 @02:13PM (#43646618)
Trick: edit yuor /etc/hosts file and add a domain name.

Self sign a certificate and add it to your trusted certificate list.

Or - use https://pinggy.io