title: Nginx subdomain (and domain) not working
body: <p>I'm on windows 7 x32 and this my nginx file:</p>
  
  <pre><code>worker_processes  1;
  
  events {
      worker_connections  1024;
  }
  
  
  http {
      server_names_hash_bucket_size 64;
      include       mime.types;
      default_type  application/octet-stream;
  
      sendfile        on;
  
      keepalive_timeout  65;
  
      gzip  on;
      upstream app_opencubes {
          server 127.0.0.1:1234;
      }   
  
      server {
          listen       80;
          server_name  www.opencubes.io opencubes.io;
  
          #charset koi8-r;
          access_log  logs/host.access.log;
          location / {
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;
  
              proxy_pass http://app_opencubes/;
              proxy_redirect off;
          }
  
          error_page   500 502 503 504  /50x.html;
          location = /50x.html {
              root   html;
          }
  
  
      }
      server {
          listen       80;
          server_name  my.opencubes.io;
  
          #charset koi8-r;
          access_log  logs/host.access.log;
          location / {
              proxy_set_header X-Real-IP $remote_addr;
              proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header Host $http_host;
              proxy_set_header X-NginX-Proxy true;
  
              proxy_pass http://app_opencubes/dashboard/;
              proxy_redirect off;
          }
  
          error_page   500 502 503 504  /50x.html;
          location = /50x.html {
              root   html;
          }
  
  
      }
  
  
  }
  </code></pre>
  
  <p>Whenever I try to reach <code>opencubes.io</code> or <code>my.opencubes.io</code>, my browser says can't load url. But when I try localhost it works</p>