win7绑定host

打开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

你可能感兴趣的:(电脑技术)