Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

I want Firefox to ignore the hosts file (Windows 10) like it does by default.

  • 2 réponses
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par Terry

more options

I run Firefox Developer Edition.

I recently added some lines to my hosts file (C:\Windows\System32\drivers\etc\hosts). Despite these additions, Firefox ignored the hosts file and loaded the pages I had blocked just fine. So I tried a multitude of options like disabling "Enable DNS over HTTPS" and eventually I got to work and the hosts file was respected.

So after thinking about it for awhile, I actually DO want Firefox to ignore the hosts file like it did before I made the change. I reverted the "Enable DNS over HTTPS" setting to its default of enabled, and I've tried everything else I can think of, but I just can't get it to work.

How can I configure Firefox to ignore the system HOSTS file and load blocked pages anyway?

Could really use some help.

I run Firefox Developer Edition. I recently added some lines to my hosts file (C:\Windows\System32\drivers\etc\hosts). Despite these additions, Firefox ignored the hosts file and loaded the pages I had blocked just fine. So I tried a multitude of options like disabling "Enable DNS over HTTPS" and eventually I got to work and the hosts file was respected. So after thinking about it for awhile, I actually DO want Firefox to ignore the hosts file like it did before I made the change. I reverted the "Enable DNS over HTTPS" setting to its default of enabled, and I've tried everything else I can think of, but I just can't get it to work. How can I configure Firefox to ignore the system HOSTS file and load blocked pages anyway? Could really use some help.

Toutes les réponses (2)

more options

You can't stop Windows "hosts" file from running otherwise your computer will not connect to the internet. Windows uses that file to determine site and access. For this question you should post it on a Windows forum site for more help since that is Windows O/S system file.

more options

I have a preference in about:config but I am using Firefox on Linux. Try searching about:config for hosts.