Discuz! Board

 找回密码
 注册
搜索
热搜: 活动 交友 discuz
查看: 5795|回复: 0

hosts绑定域名

[复制链接]

235

主题

412

帖子

1584

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1584
lava 发表于 2014-1-21 16:17:22 | 显示全部楼层 |阅读模式
1、打开“我的电脑”或“计算机”;

2、进入“C:\Windows\System32\drivers\etc”目录;

3、找到文件名为 host 的文件,打开;(记事本打开)

4、往内容的末尾追加内容;
例如:官网的IP是182.16.3.130,即追加:182.16.3.130                www.lavaone.com
(间隔空白部分可以是空格键,或 Tab 键)

如下图所示:

# 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
182.16.3.130                www.lavaone.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|LAVA网络加速器论坛  

GMT+8, 2024-4-20 05:57 , Processed in 0.079932 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表