I've assigned domain names using a custom TLD to my home servers for ease of access.
When I put, say proxmox.server, in my address bar, it searches the web. To avoid that behavior, I have to specify http://proxmox.server.
I want Firefox to recognize .server as a valid TLD. I've searched the web to no avail, so that's why I'm writing this.
I came across this post in Stack Exchange, but the method described (ie, network.IDN.whitelist.server) doesn't work.
Does anybody know how can I add a custom domain to Firefox?
EDIT:
@jamesw@beehaw.org pointed out that there is a way to add nonstandard TLDs to Firefox: browser.fixup.domainwhitelist.yourdomain.yoursuffix.
It works, but a FQDN (with the imaginary TLD) is needed, that means it's not possible to whitelist all domains under a custom TLD. You need to add one entry per domain, that is: whitelist server1.mystuff, whitelist server2.mystuff, and so on.
4 Comments
jamesw@beehaw.org · 1 pts · 3y
Looks like you can add custom domains in
about:configas a true boolean withbrowser.fixup.domainwhitelist.yourdomain.yoursuffix. Just needs to be full domain with tld.https://bugzilla.mozilla.org/show_bug.cgi?id=1634650
https://support.mozilla.org/en-US/questions/1285922
xvlc@feddit.de · 1 pts · 3y
Did you try setting
browser.fixup.domainwhitelist.server = true?PM_ME_FLUFFY_SHIBES@lemmy.world · 1 pts · 3y
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.
octogenarian_potato@lemmy.ml · 1 pts · 3y
.localis reserved for mDNS, that's why I don't use it. Since it's reserved, Firefox "knows" that if you typesomething.localit 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.