Search for Notepad in the Start menu and start it as administrator
2. Notepad - File - Open, the address bar into the path C:\Windows\System32\drivers\etc Select all files in the lower right corner, then hosts will appear, double click to open
3. edit the file, a line to write a host resolution
example: 8.8.8.8 baidu.com
4. Save to take effect, if not, cmd this command to update the cache: ipconfig /flushdns