烂泥 发表于 2018-6-26 11:02:55

win10系统如何新建hosts


有网友发现自己的win10系统hosts文件不小心删掉了,如何手动创建一个。用别人的hosts文件可以吗?下面小编分享win10系统新建hosts方法:1、在win10系统桌面上,空白处,右键,新建,文本文档。
http://p8.qhimg.com/t01b4bb505b1e6566e0.webp
2、双击打开新建文本文档。
http://p7.qhimg.com/t016312be3103365fff.webp
3、把下面内容复制到文档上。# 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
# localhost name resolution is handled within DNS itself.# 127.0.0.1       localhost# ::1             localhost
http://p4.qhimg.com/t017e0d03abcccc726b.webp
4、单击文件,保存。
http://p8.qhimg.com/t01eac36e39ee3a73ed.webp
5、选择新建文本文档。右键,重命名。
http://p0.qhimg.com/t01d713e7c70bfa174f.webp
6、把“新建文本文档.txt”改为hosts。注意要是看不到 “.txt”的去设置文件扩展名显示。
http://p6.qhimg.com/t0138282f430fbc4175.webp
7、单击是。
http://p6.qhimg.com/t01fb602a207ba13752.webp
8、然后把hosts文件复制到C:\WINDOWS\system32\drivers\etc下,即可。
http://p1.qhimg.com/t0194b6ccd4e07347c0.webp
win10
页: [1]
查看完整版本: win10系统如何新建hosts

请大家牢记南瓜园网址 www.nan2008.com