A little late, but after a few hours I find a solution. It seems like Google Chrome sometimes has problems resolving host names defined in / etc / hosts.
I am using Linux and I am behind the proxy.
Try adding at the end of the name server: .localhost
Example:
In: / etc / hosts:
127.0.0.1 myservername.localhost
On the virtual hosts of your server configuration, you need to rename the server name. In my case, I use apache, so in /etc/apache/sites-enabled/myserver.conf rename the line of the old server name with:
... ServerName: myservername.localhost
If you are behind a proxy server, you can, apart from all hosts, just add vars no_proxy:
$no_proxy= "localhost"
Finally, do not forget to restart the server and try to enter the browser with the new server name.
source share