hosts文件没有了怎么办_电脑没有hosts文件解决办法

时间:2023-12-02 00:57:09 

hosts文件是存在于我们电脑中的一种功能型文件,今天小编为大家带来的就是电脑没有hosts文件解决办法!感兴趣的话就快来看看吧。

hosts文件没有了怎么办_电脑没有hosts文件解决办法

【hosts文件问题解答大全】

电脑没有hosts文件解决办法:

1、首先在系统桌面空白处右击鼠标选择新建、选择文本文档

hosts文件没有了怎么办_电脑没有hosts文件解决办法

2、如果第一步操作正确那么就可以创建出一个如下图一样的文本文档

hosts文件没有了怎么办_电脑没有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

#127.0.0.1 gilisoft.com

完成以上标红内容复制后在关闭txt文本的时候选择保存内容

hosts文件没有了怎么办_电脑没有hosts文件解决办法

4、回到系统桌面右击txt文本然后选择重命名,将新建文本文档txt修改为hosts!注意不要有任何多余的空格或者是符号。

hosts文件没有了怎么办_电脑没有hosts文件解决办法

5、将已经修改好的文档直接从桌面拖到C:WindowsSystem32driversetc目录中即可解决hosts文件没有了的问题。

hosts文件没有了怎么办_电脑没有hosts文件解决办法

标签:hosts文件没有了怎么办
0
投稿

猜你喜欢

  • excel正弦公式的使用教程

    2023-03-20 01:29:00
  • win8用内置帐号不能使用metro界面里的应用商店

    2022-01-16 22:50:57
  • 装完系统后某些驱动没装上的解决方法

    2022-02-14 10:37:09
  • Excel中图片参与排序时应注意的几个问题

    2023-04-11 11:04:00
  • WPS表格办公—显示和隐藏工具栏的方法

    2022-05-12 21:19:13
  • 使用Excel制作工资条的方法步骤

    2023-10-13 03:55:37
  • excel图表怎么标识重复值?

    2022-02-26 14:45:57
  • 百度网盘2T空间怎么领取?百度云盘免费扩容方法

    2023-02-01 19:58:28
  • 看了这篇干货,再也不怕Mac内存不足了!

    2023-05-14 21:31:07
  • WPS测量单位怎么改为厘米?

    2022-11-26 04:08:08
  • 清华同方bios通用密码(thtfpc)

    2023-08-12 00:46:15
  • win11右键怎么设置原来的模样 ?win11右键菜单改回传统模式教程

    2023-09-11 14:34:09
  • 四步制作Win7 SP2 ISO镜像 在不怕重装补丁多问题

    2022-04-22 01:02:46
  • 如何实现在PPT图表产生互动提示窗 实例教程

    2022-09-25 04:26:37
  • AdGuard如何开启和设置家长控制模式?

    2022-03-02 00:08:40
  • win7系统Apple Mobile Device无法启动的两种解决办法

    2022-12-25 04:00:06
  • 电脑版wps文档如何删除页眉横线

    2022-04-18 23:51:36
  • word批量加粗段首文字技巧,很简单,但多数人不会!

    2023-08-09 07:29:44
  • wps表格如何美化图表

    2022-07-04 12:46:32
  • 教你数码相机和单反相机的区别

    2022-10-29 15:07:13
  • asp之家 电脑教程 m.aspxhome.com