The method of modifying the hosts is as follows:
1. Locate the Hosts file, which is located in the C:\WINDOWS\system32\drivers\etc directory under the WINDOWS system.
2. Open the hosts in Notepad, add the address in the following document and save it, note that the Hosts file does not have a suffix.
If you are using a Linux system classmate, please modify /etc/hosts this file.
If it's an Apple Computer (Mac), open your file manager (i.e. Finder)
Then, press the shortcut key combination "SHIFT+COMMAND+G" three combination keys to find the file, and enter the path of the Hosts file:/etc/hosts.
Second, locate the Hosts folder in the folder that opens.
android User: Android mobile Hosts file path:/system/etc/hosts
Linux, Mac, Android users use notepad++ to convert text encoding and line break format
(In the format, display the symbol, which shows the line end character inside.) Then ctrl+f, choose Replace, replace \ r \ n)
Download the Hosts file provided by the old D directly using the mobile browser (Baidu network disk, without the. txt) with the RE manager (if the phone is rooted) copy or move to /system/etc/hosts sticky or overlay can be.
TXT format local lookup & download:
Http://laod.cn/wp-content/uploads/2015/09/20150901-hosts.txt
Http://files.cnblogs.com/files/star8521/20150901-hosts.rar
Google hosts continues to update: 2015-09-01 "