This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can't use hosts file with Firefox

more options

I recently added an entry to my hosts file but Firefox seems to ignore it. I'm using v. 128.5.1esr, fully updated. I've tried a lot of the advice online and none of it seems to work. Here's what I've tried:

disabled "Enable DNS over HTTPS Cleared the DNS Cache changed "Use system proxy settings" to "No proxy". tried troubleshooting mode set network.trr.exclude-etc-hosts to true changed browser.fixup.dns_first_for_single_words to true changed network.dns.offline-local to false restarted FF, rebooted computer

It doesn't work in Chrome either, which makes me wonder if it's a Windows 10 issue. Any suggestions?

I recently added an entry to my hosts file but Firefox seems to ignore it. I'm using v. 128.5.1esr, fully updated. I've tried a lot of the advice online and none of it seems to work. Here's what I've tried: disabled "Enable DNS over HTTPS Cleared the DNS Cache changed "Use system proxy settings" to "No proxy". tried troubleshooting mode set network.trr.exclude-etc-hosts to true changed browser.fixup.dns_first_for_single_words to true changed network.dns.offline-local to false restarted FF, rebooted computer It doesn't work in Chrome either, which makes me wonder if it's a Windows 10 issue. Any suggestions?

All Replies (5)

more options

That isn't part of Firefox so you need to check where you got the hosts file and see what suppose to happen if you change it.

Helpful?

more options

I'm doing an example from a CompTIA prep book. The only line in the hosts file is this:

34.200.194.131 timmy

It's supposed to open 34.200.194.131 when I type "timmy" into the address bar

Helpful?

more options

It works for me. see screenshot

Helpful?

more options

Edeziri site na jonzn4SUSE

Helpful?

more options

Edeziri site na jonzn4SUSE

Helpful?

Jụọ ajụjụ

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.