Windows Hosts 檔案是一個可以推翻 DNS 和更改 URL 以及 IP 位置。但只支援domain不支援ip 請問如何轉址ip至卷商的主機 因為卷商的主機IP常改,很麻煩 - 瀏覽至 C:\Windows\System32\drivers\etc
- 用記事本或者其他文字編輯軟體開啟 hosts 檔案。Hosts 並不會有附檔名。
# Copyright (c) 1993-1999 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
102.54.94.97 rhino.acme.com (O)
102.54.94.97 38.25.63.10 (X)
|