
Local systems URLs not resolving
Hi all..
I've been searching and all the answers didn't solve my problem. I have local web systems that are being normally accessed in Chrome like xxx.localhost. But not in Firefox. Firebox opens normally localhost, but not the personalized URLs that I have here.
Could someone help me? I've tried almost everything related, but nothing solved the problem. :(
Thanks
Chosen solution
I would expect Firefox to request DNS resolution through your OS, as long as you are not bypassing the OS by sending DNS queries directly to a different DNS server, or by using a VPN or proxy. So putting each host name in a "hosts" file (or equivalent) would be the most obvious workaround.
The network.dns.localDomains preference is another option, although I've never tested it.
I don't know whether it is possible to run your own DNS server for the ".localhost" top level domain. Firefox would need to believe that your DNS server was authoritative for that TLD.
Read this answer in context 👍 1All Replies (5)
What the error screen shot?
The error is: Hmm. We’re having trouble finding that site.
We can’t connect to the server at dev.localhost.
I managed to solve it including this address to the config network.dns.localDomains.
Is there any way to include all XXX.localhost instead to include one by one?
Hi cor-el.
Didn't solved. :(
I believe that to include them in network.dns.localDomains. would be the only way.
Chosen Solution
I would expect Firefox to request DNS resolution through your OS, as long as you are not bypassing the OS by sending DNS queries directly to a different DNS server, or by using a VPN or proxy. So putting each host name in a "hosts" file (or equivalent) would be the most obvious workaround.
The network.dns.localDomains preference is another option, although I've never tested it.
I don't know whether it is possible to run your own DNS server for the ".localhost" top level domain. Firefox would need to believe that your DNS server was authoritative for that TLD.
Thank you jscher2000!
Both solutions worked fine.
if you can edit the file hosts of your pc it will fix and if, for some reason, you cannot or don't want you can also use FireFox network.dns.localDomains.
Thank you all.