1、首先在系統(tǒng)桌面空白處右擊鼠標(biāo)選擇新建、選擇文本文檔。 2、如果第一步操作正確那么就可以創(chuàng)建出一個(gè)如下圖一樣的文本文檔。 3、將一下內(nèi)容復(fù)制到創(chuàng)建好的文本文檔中: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a # symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host # localhost name resolution is handled within DNS itself. #127.0.0.1 localhost #::1 localhost #127.0.0.1 gilisoft.com 完成以上標(biāo)紅內(nèi)容復(fù)制后在關(guān)閉txt文本的時(shí)候選擇保存內(nèi)容。 4、回到系統(tǒng)桌面右擊txt文本然后選擇重命名,將新建文本文檔txt修改為hosts!注意不要有任何多余的空格或者是符號。 5、將已經(jīng)修改好的文檔直接從桌面拖到C:\Windows\System32\drivers\etc目錄中即可解決hosts文件沒有了的問題。 |
免責(zé)聲明:本站部分文章和圖片均來自用戶投稿和網(wǎng)絡(luò)收集,旨在傳播知識,文章和圖片版權(quán)歸原作者及原出處所有,僅供學(xué)習(xí)與參考,請勿用于商業(yè)用途,如果損害了您的權(quán)利,請聯(lián)系我們及時(shí)修正或刪除。謝謝!
始終以前瞻性的眼光聚焦站長、創(chuàng)業(yè)、互聯(lián)網(wǎng)等領(lǐng)域,為您提供最新最全的互聯(lián)網(wǎng)資訊,幫助站長轉(zhuǎn)型升級,為互聯(lián)網(wǎng)創(chuàng)業(yè)者提供更加優(yōu)質(zhì)的創(chuàng)業(yè)信息和品牌營銷服務(wù),與站長一起進(jìn)步!讓互聯(lián)網(wǎng)創(chuàng)業(yè)者不再孤獨(dú)!
掃一掃,關(guān)注站長網(wǎng)微信