Over my /etc/hosts file I have the following entry:
192.168.10.80 myapp.localhost
When I visit the url http://myapp.localhost on the Firefox browser it correctly shows my application running in a vagrant. But on chrome or any chromium-based (Brave browser, Chromium) is fails to show.
Do you know why that happens?
I looked over theese solutions:
- https://stackoverflow.com/a/30476300/4706711
- Why can't Google Chrome resolve subdomains from /private/etc/hosts?
- Google Chrome can't access localhost domains
Also when I try to disable asyncronous DNS I cannot find that option:
In the duplicate answers I cannot
