Windows10如何配置hosts文件

 时间:2026-04-28 10:48:15

1、打开文件管理器

Windows10如何配置hosts文件

2、在地址栏输入“C:\Windows\System32\drivers\etc”

Windows10如何配置hosts文件

3、此时hosts文件如图所示

Windows10如何配置hosts文件

4、双击hosts文件,选择记事本的打开方式

Windows10如何配置hosts文件

5、参数配置说明ip + 空格 + 域名如:192.168.0.103 test.com

Windows10如何配置hosts文件

6、保存即可,如果提示无权限不能保存,可以先将文件另存到桌面

Windows10如何配置hosts文件

7、然后去掉一下文件的后缀名“.txt”去掉

Windows10如何配置hosts文件

8、从桌面替换掉目标的这个文件

Windows10如何配置hosts文件

  • Windows10host文件修改方法
  • secureCRT连接时出现key exchange failed怎么办
  • 如何将CMD命令结果导出为TXT文件
  • hosts怎么添加ip和域名解析
  • linux查找文件中的关键字
  • 热门搜索
    交友宣言怎么写 沈阳职业技术学院怎么样 笔记本电脑除号怎么打 梦想卡片怎么做 mds文件怎么打开 如何关闭防火墙 怎样设置无线路由器 贷款卡怎么办理 格陵兰岛旅游 如何更改苹果id密码