title: Cannot access docker website by domain
body: <p>I need help with configuring docker on Debian 9.
  I installed docker and docker-compose successfully.</p>
  
  <p>I can access my host by IP (ex. 172.18.0.7), but cannot access by domain name (sitename.loc). I see an error "ERR_NAME_NOT_RESOLVED" or "DNS_PROBE_FINISHED_NXDOMAIN".</p>
  
  <p>Commands
  $ docker-compose up -d
  $ docker ps
  works fine.</p>
  
  <p>I tried disable firewall, it didn't help.
  What's wrong? iptables?</p>
  
  <p>Thanks in advance.</p>