host文件不见了怎么解决?
host文件不见了怎么解决?host文件是电脑系统上面比较重要的文件,如果host文件不见了的话那么可能会在浏览网页的时候出现不少的问题,不过host文件不见了是可以快速解决的,那么host文件不见了怎么解决?下面就来看看小编分享的host文件不见了的解决方法吧。
host文件不见了的解决方法
1、首先在系统桌面空白处右击鼠标选择新建、选择文本文档。
2、如果第一步操作正确那么就可以创建出一个如下图一样的文本文档。
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文本的时候选择保存内容。
4、回到系统桌面右击txt文本然后选择重命名,将新建文本文档txt修改为hosts!注意不要有任何多余的空格或者是符号。
5、将已经修改好的文档直接从桌面拖到C:WindowsSystem32driversetc目录中即可解决hosts文件没有了的问题。
相关文章
- 2023-06-14暴雪战网客户端怎么修改实名认证信息?
- 2023-06-14暴雪战网客户端怎么更改为简体中文?
- 2023-06-14暴雪战网怎么修改登陆地区?
- 2023-06-14360浏览器不支持flash player怎么解决?
- 2023-06-14暴雪战网客户端无法安装是什么原因?
- 2023-06-14ntuser.dat文件误删了怎么解决?
- 2023-06-14无法访问您可能没有权限使用网络资源怎么解决?
- 2023-06-14该站点安全证书吊销信息不可用怎么办?
- 2023-06-140x0000bcb驱动无法安装怎么办?
- 2023-06-140xc0000102错误代码怎么解决?
- 2023-06-140xc0000017蓝屏代码无法启动怎么办?
- 2023-06-14应用程序无法启动0xc0000007错误怎么办?
- 2023-06-140xc000014c错误无法开机怎么办?
- 2023-06-14win10玩游戏掉帧严重怎么办?
- 2023-06-14外接键盘使用正常背光灯不亮怎么办?