本地域名解析的方法
2010-01-14 11:09
211 查看
在C:\WINDOWS\system32\drivers\etc 目录下的 hosts文件 中加入
如:
# Copyright (c) 1993-1999 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
127.0.0.1 localhost
10.12.12.200 cc.tv.com.cn
如:
# Copyright (c) 1993-1999 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
127.0.0.1 localhost
10.12.12.200 cc.tv.com.cn
相关文章推荐
- chrome浏览器无法解析本地虚拟域名
- 域名解析本地无效的解决方法与清空域名缓存的方法
- DNS服务器 用本地hosts文件解析域名 DNS测试
- 一个DNS转发故障,造成的部分域名不能解析的解决方法
- j通过本地dns解析获得域名的iP
- android客户端解析本地json数组出现乱码问题解决方法
- 设置本地域名解析
- nginx配置多域名映射方法(本地hosts)
- 本地电脑通过修改hosts文件实现域名本地解析
- PHP本地域名解析教程
- Python读取本地文件并解析网页元素的方法
- 修改hosts文件在本地使域名解析到指定IP
- 什么是域名解析、如何解析域名、如何绑定域名[域名解析方法]
- DNS无法解析域名,ARP无法解析 (arp欺骗)解决方法
- DNS服务器 用本地hosts文件解析域名 DNS测试
- 解决google掉线办法 本地域名解析
- 修改hosts文件在本地使域名解析到指定IP
- 关于最近新网域名被泛解析的解决方法
- linux本地域名解析文件
- 在手机上通过代理与本地域名解析的形式访问本机