問答標題:如何讓自己電腦將特定網址指向特定的IP
如何讓自己電腦將特定網址指向特定的IP
如何修改自己電腦的hosts檔案,讓自己電腦將特定網址指向特定的IP。

首先進入C:\Windows\System32\drivers\etc下,將hosts複製到文件夾。

將檔案貼上至【媒體櫃】>【文件】。

按滑鼠右鍵,選擇【開啟】。

使用【記事本】打開。

至文件中最後,增加一行IP與網址,IP跟網址中至少打上一個空白作區隔。

舉例000.000.000.000改成198.55.121.100,www.cadch.com改成www.premier-pip.com。

改好後存檔,並將檔案拷貝回C:\Windows\System32\drivers\etc下。
系統會提示需要管理員才可以進行覆蓋的工作,請選擇【繼續】。
改完後,打上網址,就會進入該IP。
建立時間
2016-03-18
編輯時間
2016-03-18