1.找到hosts在本机的位置: 2.右键编辑hosts文件:(在文件的最下面添加) ip 域名 3.刷新DNS: ipconfig flushdns //刷线缓存内容 ipconfig /displaydns //显示缓存内容