Like many programmers, I test sites locally. I use the hosts file to map domain names to my local ip (127.0.0.1).
I use qualified domain names, usually with the subdomain "d" (for "development").
For example:
d.somewebsite.com d.anotherwebsite.com and so on...
In Microsoft Edge, most websites work. However, some of them do not. There is nothing special or strange about domain names that won't work. Just plain d.someletters.com .
They work great in Chrome, IE, and Firefox.
An error message appears in Edge: "Hmm, we cannot get to this page."
At first I thought it was not an IP solution. However, I realized that when I made a typo on another unrelated URL, requests that were not redirected by the hosts file are sent to my ISP, which will be resolved. If my ISP cannot solve it, they will send a page with the results of special search queries with suggestions about what you are trying to find. Well, when I go to my local domain, I do not get this page from my Internet provider. I get the error mentioned above right from the edge.
So, it seems to me that Edge resolves the domain correctly, otherwise it would be sent to my ISP DNS server.
So, I would think that maybe Edge just can't connect to the local machine. But, as I said, some of these local domains work fine. In addition, 127.0.0.1 works directly in Edge. These are just a couple of domain names that give me a problem. And only in Edge (all other browsers work) Any ideas?
Apache2 web server for Windows (xampp), if that matters.
Also, if I open the debug window in Edge and monitor the network, I don’t see any requests at all.
EDIT: I no longer use the hosts file. I have dnsmasq running on one of my Linux boxes, and I use it for DNS instead of hosts. Also, you are not using loopback (obviously, since DNS is in a different window now), I am using the internal private IP address (192.168 ...). Same problem.