Home  >  Q&A  >  body text

javascript - The domain name cannot be resolved Get net::ERR_NAME_NOT_RESOLVED

My own website domain name cannot be resolved
chrome error: Get net::ERR_NAME_NOT_RESOLVED
nginx configuration

    server {
        listen 80;
        server_name www.xxx.cn;
        rewrite ^(.*)$  https://$host permanent;
    }
    server {
        listen 443;
        server_name  www.xxx.cn;

        ssl on;
        ssl_certificate /data/www/blog/ssl/1_www.xxx.cn_bundle.crt;
        ssl_certificate_key /data/www/blog/ssl/2_www.xxx.cn.key;
        ssl_session_timeout 5m;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
        ssl_prefer_server_ciphers on;

          location / {
                 root /data/www/blog/;
                 try_files $uri $uri/ /index.html;
          }
        }
迷茫迷茫2713 days ago888

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 17:09:27

    The domain name cannot be resolved and you need to find a domain name resolution service...

    ping www.xxx.cnnslookup www.xxx.cn(windows) Check whether the domain name resolution is obtained

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-16 17:09:27

    Same as above, the domain name cannot be resolved and it has nothing to do with nginx configuration

    reply
    0
  • Cancelreply