http://www.dingding.biz/archives/405

http://www.hbcms.com/cms/40/365.html

 

修改hosts文件:

  1. hosts文件的位置:xp,2000等系统在 C:\windows\system32\drivers\etc 文件夹中找到Hosts文件并用记事本打开(Windows 9x/Me系统在C:\Windows文件夹中找)

  2. 按照 ip地址  域名 的格式添加单独的一行记录。例如
    72.14.219.190 www.hbcms.net
    注意,IP地址前面不要有空格,ip地址和域名之间,要有至少1个空格。
    修改后,一定要记得保存文件。

  3. 如何知道域名的IP地址已经生效?

    1. 在您的电脑上请按如下步骤操作:开始-->运行-->输入cmd-->ping 域名-->回车查看结果

    2. 显示结果类似 Reply from 220.181.31.183: bytes=32 time=79ms TTL=53
      中间的  220.181.31.183 就是域名的IP地址

  4. 关闭全部的浏览器,重新打开,测试你刚才添加的域名是否能正常访问

  5. 如果访问不正常,请按照3步骤,检查你刚才设置的域名是否对应了正确的IP地址

加入下面的:

#Google Plus
2a00:1450:8007::64 plus.google.com
2404:6800:8005::62 talkgadget.google.com
#由于IPV6目前还不普及,于是补上修改hosts文件的相应IP地址:
#google plus
74.125.230.107 plus.google.com
209.85.175.132 images1-focus-opensocial.googleusercontent.com
209.85.175.132 images2-focus-opensocia2.googleusercontent.com
209.85.175.132 s2.googleusercontent.com
209.85.143.132 lh1.googleusercontent.com
209.85.175.132 lh1.googleusercontent.com
209.85.143.132 lh2.googleusercontent.com
209.85.175.132 lh2.googleusercontent.com
209.85.143.132 lh3.googleusercontent.com
209.85.175.132 lh3.googleusercontent.com
209.85.175.132 lh4.googleusercontent.com
209.85.143.132 lh4.googleusercontent.com
209.85.143.132 lh5.googleusercontent.com
209.85.175.132 lh5.googleusercontent.com
209.85.143.132 lh6.googleusercontent.com
209.85.175.132 lh6.googleusercontent.com
posted on 2011-07-09 11:35  hustlijian  阅读(1258)  评论(0编辑  收藏  举报

无觅相关文章插件,快速提升流量