Add additional TLD to firefox

Published on Saturday, 30 December, 2023

This is a simple one. The issue i was having is that i have custom domain for my home lab setup with .lan tld. Now if you write an address like example.lan into firefox address bar, it'll just go straight to your default search engine and search for the term.

Fixing it was surprisingly simple, you just need to add an option to about:config in firefox.

So all you need to do is:

  • go to firefox config by typing about:config in address bar
  • enter browser.fixup.domainsuffixwhitelist.lan (where the last part is your desired tld, .lan in my case)
  • click the plus icon on the right side of the screen

And that's it, you should now no longer have to explicitly state http:// or https:// in front of your local address.