win10
2022年8月4日...小于 1 分钟
WINDOWS本地解析
寻找路径
快速方法
......
选择C:\Windows\System32\drivers\etc 这个路径
- 方法一(快速方法)
# 打开cmd,输入指令
cd c:/Windows/System32/drivers/etc
# 输入explorer .命令(注意点前空格)
explorer .
- 方法二(直接电脑C盘找文件夹)
打开hosts文件编辑解析
# 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
192.168.1.197 test.com
- 格式为本地ip加自定义域名,保存即可
- 原先的解析最好不删除,直接后面加,一条解析为一行
Powered by Waline v3.3.2