title: Nginx subdomains not working
body: <p>I don't know what's wrong. I don't get any warnings in logs. I've similar config to this
  <a href="https://stackoverflow.com/questions/35037510/how-to-exclude-specific-subdomains-server-name-in-nginx-configuration">How to exclude specific subdomains server_name in nginx configuration</a></p>
  
  <p>I want to create subdomain us.example.io I'm using <code>ping</code> to check it</p>
  
  <pre><code>ping us.example.io
  ping: cannot resolve us.example.io: Unknown host
  </code></pre>
  
  <p>nginx.config</p>
  
  <pre><code> server {
      server_name *. us.example.io us.example.io;
      listen 80;
      root /usr/share/nginx/html/bint;
      index index.html index.htm index.php;
      location / {
        try_files $uri $uri/ /index.html;   
      }
    }
  
    server {
      server_name us.example.io;
      listen 80;
      return http://www.google.com;
    }
  </code></pre>