Windows10如何配置hosts文件

2025-04-22 11:36:47

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文件
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢