win7绑定host

来源:互联网 发布:正确看待网络新一代 编辑:程序博客网 时间:2024/06/02 08:29

打开C:\Windows\System32\Drivers\etc\hosts文件

添加如下

# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
192.168.1.214  www-dev.koudaicp.com
192.168.1.214  admin-dev.koudaicp.com


# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost

0 0
原创粉丝点击