News for hackers. Stuff that matters.
Re:.localhost Domains by alexvitkov on Thursday April 10, 2025 @12:29PM (#43645535)
Too much typing, and Chromium-based browsers don't understand it yet and try to search for mything.internal instead, which is annoying - you have to type out the whole http://mything.internal.

This can be addressed by hijacking an existing TLD for private use, e.g. mything.bb :^)

Re:.localhost Domains by nsteel on Thursday April 10, 2025 @01:47PM (#43646358)
Isn't just typing the slash at the end enough to avoid it searching? e.g. mything/
Re:.localhost Domains by jeroenhd on Friday April 11, 2025 @06:27AM (#43652354)
mything/ will make the OS resolve various hosts: mything., mything.local (mDNS), mything.whateverdomainyourhomenetworkuses. (which may be what you wanted).

If you want to be sure, use mything./ : the . at the end makes sure no further domains are appended during DNS lookup, and the / makes the browser try to access to resource without Googling it.

Re:.localhost Domains by tepmoc on Thursday April 10, 2025 @12:52PM (#43645793)
eh, you can just add search domain via dhcp or static configuration and just type out http://mything/ no need to enter whole domain unless you need todo ssl
Re:.localhost Domains by thaumasiotes on Friday April 11, 2025 @08:32AM (#43653062)
> Chromium-based browsers don't understand it yet and try to search for mything.internal instead, which is annoying

That's hardly the only example of annoying MONOBAR behavior.

This problem could have been avoided if we had different widgets for doing different things. Someone should have thought of that.