Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win8.1 修改 Hosts 檔案加速常用網站存取:以系統管理員身分編輯儲存圖文教學

編輯:關於 Windows

將常用網站的 IP 與域名對應寫入 C:\Windows\System32\drivers\etc\hosts,瀏覽器解析時直接跳過 DNS 查詢,可顯著提升存取速度。Win8.1 需以管理員身分開啟記事本才能存檔。

操作步驟

  1. 開始畫面 → 向下箭頭 → 找「記事本」 → 右鍵 →「以系統管理員身分執行」。
  2. 記事本「檔案 → 開啟舊檔」,右下角「所有檔案」,定位至 C:\Windows\System32\drivers\etc\hosts 開啟。
  3. 檔案末尾新增對應,格式:IP 域名(如 192.168.1.100 myserver.local)。
  4. Ctrl+S 儲存(或關閉視窗選「儲存」)。

修改即時生效,無需重開機。

Copyright © Windows教程網 All Rights Reserved