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

Local systems URLs not resolving

  • 5 replies
  • 1 has this problem
  • 792 views
  • Paskiausią atsakymą parašė rodrigoalex

more options

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

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.

Skaityti atsakymą kartu su kontekstu 👍 1

All Replies (5)

more options

What the error screen shot?

more options

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?

more options

Hi cor-el.

Didn't solved. :(

I believe that to include them in network.dns.localDomains. would be the only way.

more options

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.

more options

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.