win10系统如何新建hosts

 时间:2026-02-13 02:11:46

1、在win10系统桌面上,空白处,右键,新建,文本文档。

win10系统如何新建hosts

2、双击打开新建文本文档。

win10系统如何新建hosts

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

win10系统如何新建hosts

4、单击文件,保存。

win10系统如何新建hosts

5、选择新建文本文档。右键,重命名。

win10系统如何新建hosts

6、把“新建文本文档.txt”改为hosts。注意要是看不到 “.txt”的去设置文件扩展名显示。

win10系统如何新建hosts

7、单击是。

win10系统如何新建hosts

8、然后把hosts文件复制到C:\WINDOWS\system32\drivers\etc下,即可。

win10系统如何新建hosts

  • 怎么在Windows10设置限制用户配置文件的大小
  • DCOM在Win7 64位和32位的配置
  • Windows10如何打开系统组策略gpedit.msc
  • ghost还原img教程
  • Linux下使用minicom连接console管理配置交换机
  • 热门搜索
    酱油炒饭怎么做 鱼头怎么做好吃 风味茄子怎么做 不吃盐会怎么样 济南工程职业技术学院怎么样 瓜子二手车怎么样 我的世界马怎么骑 win7运行怎么打开 海信冰箱质量怎么样 货运资格证怎么办理