title: NGINX doesn't work if the domain has an accent mark
body: <p>I have bought a domain with an accent mark inside: something like www.èxample.com. </p>
  
  <p>My problem is that even if I configured my nginx server block (virtual host) in a correct way, it doesn't match the directory that I made.
  I tried to use the same configuration with a domain without an accent mark and everything work fine.</p>
  
  <p>This is my server block file inside site-availables folder:</p>
  
  <pre><code>server {
      listen 80;
  
      root /var/www/example.com;
      index index.php index.html index.html;
  
      server_name *.èxample.com;
  
      client_max_body_size 4G;
  
      charset utf-8;
  
      access_log /var/www/example.com/logs/nginx-access.log;
      error_log /var/www/example.com/logs/nginx-error.log;
  
      location / {
          try_files $uri $uri/ /index.html;
      }
  
      # pass the PHP scripts to FastCGI server listening on the php-fpm socket
      location ~ \.php$ {
          try_files $uri =404;
          fastcgi_pass unix:/var/run/php5-fpm.sock;
          fastcgi_index index.php;
          fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
          include fastcgi_params;
      }
  }
  </code></pre>
  
  <p>How can I solve this problem?</p>
  
  <p>Thanks!</p>