title: docker private registry on our own domain getting i/o timeout error
body: <p>Can anybody help in this below error while running docker push command to setup docker private registry with own domain</p>
  
  <pre><code># docker push docker-reg.sogeti-aws.nl:5000/centos
  </code></pre>
  
  <blockquote>
    <p>The push refers to a repository [docker-reg.sogeti-aws.nl:5000/centos]
    Put <a href="http://docker-reg.sogeti-aws.nl:5000/v1/repositories/centos/" rel="nofollow noreferrer">http://docker-reg.sogeti-aws.nl:5000/v1/repositories/centos/</a>: dial
    tcp 34.231.229.79:5000: i/o timeout</p>
  </blockquote>
  
  <p><strong>DNS entry</strong></p>
  
  <pre><code>nameserver 8.8.8.8
  `#nameserver 172.31.0.2
  `#search ec2.internal
  
  root@ip-172-31-68-135:~# cat /etc/docker/daemon.json {    "insecure-registries" : [ "docker-reg.sogeti-aws.nl:5000" ] }
  </code></pre>
  
  <p>Docker already restarted but issue still persists.</p>