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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Firefox browser force search

more options

I created a few virtual hosts and sites on my local machine and this is working perfectly.

Problem is with Firefox, when I enter non-existant url in address bar, Firefox force me to search and don't let me to open the url, but I need to go to this url for testing, developing, etc...

Any solution?

I created a few virtual hosts and sites on my local machine and this is working perfectly. Problem is with Firefox, when I enter non-existant url in address bar, Firefox force me to search and don't let me to open the url, but I need to go to this url for testing, developing, etc... Any solution?

Isisombululo esikhethiwe

jscher2000 - Support Volunteer said

You say non-existent -- from Firefox's perspective -- but they do exist as local DNS entries on your system? And I assume not in a hosts file? By default, Firefox prefers DNS over HTTPS, but can fall back to a local lookup. If your DNS service is dishonest about not having the address, it may divert you to a "search" page of paid links. As a starting point, you could disable DNS over HTTPS and see whether that makes any difference in Firefox's ability to resolve your local addresses: Firefox DNS-over-HTTPS.

Thanks for the reply.

Actually, domain I am using exist in hosts file. Domain is working and some pages are working, but there is a few links that I just can't open. I type on purpose wrong page at domain, firefox force me to search, and don't open the link as expected.

Thanks for the link https://support.mozilla.org/en-US/kb/firefox-dns-over-https

Firefox DNS-over-HTTPS is not what I used, but I used "Excluding specific domains" part and excluded domain I am using localy, now everything is working and I can finally use Firefox to continue working on my app.

Thank you a lot!

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 1

All Replies (3)

more options

You say non-existent -- from Firefox's perspective -- but they do exist as local DNS entries on your system? And I assume not in a hosts file?

By default, Firefox prefers DNS over HTTPS, but can fall back to a local lookup. If your DNS service is dishonest about not having the address, it may divert you to a "search" page of paid links.

As a starting point, you could disable DNS over HTTPS and see whether that makes any difference in Firefox's ability to resolve your local addresses: Firefox DNS-over-HTTPS.

more options

Isisombululo Esikhethiwe

jscher2000 - Support Volunteer said

You say non-existent -- from Firefox's perspective -- but they do exist as local DNS entries on your system? And I assume not in a hosts file? By default, Firefox prefers DNS over HTTPS, but can fall back to a local lookup. If your DNS service is dishonest about not having the address, it may divert you to a "search" page of paid links. As a starting point, you could disable DNS over HTTPS and see whether that makes any difference in Firefox's ability to resolve your local addresses: Firefox DNS-over-HTTPS.

Thanks for the reply.

Actually, domain I am using exist in hosts file. Domain is working and some pages are working, but there is a few links that I just can't open. I type on purpose wrong page at domain, firefox force me to search, and don't open the link as expected.

Thanks for the link https://support.mozilla.org/en-US/kb/firefox-dns-over-https

Firefox DNS-over-HTTPS is not what I used, but I used "Excluding specific domains" part and excluded domain I am using localy, now everything is working and I can finally use Firefox to continue working on my app.

Thank you a lot!

more options

Thank you for reporting back.