本机上设置域名解析

修改C:\WINDOWS\system32\drivers\etc\hosts
加入
ip domain

 

举例:

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

posted on 2012-10-22 10:46  专注2018  阅读(514)  评论(0编辑  收藏  举报