What OS are you running? You could use .local instead; I have mappings in /etc/hosts for 'gitlab.local' for example and they work fine.
this post was submitted on 18 Jun 2023
4 points (100.0% liked)
Firefox
18751 readers
407 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 5 years ago
MODERATORS
.local
is reserved for mDNS, that's why I don't use it. Since it's reserved, Firefox "knows" that if you type something.local
it shouldn't search the web.
I'm using Fedora, I know I can edit my hosts file to point to a domain, but I don't want to do that. I map the domains with a pihole instance, and I'd like to keep the record of domains centralized. Also, editing the hosts file won't solve the issue with Firefox not pointing to the site.