How to configure /etc/hosts to test local Docker setup
see https://github.com/docker/docker/issues/2509
the address you specified is inaddr_any , which is basically a wildcard. so your problem is with the /etc/hosts file - bind the domain name to a real ip of the host, e. g. 127.0.0.1