原创文章,转载请注册出处,本文地址:http://velep.com/archives/130

今天真是奇怪,打开自己网站velep.com,一会儿打的开,一会儿又不打开,但打开其它网站正常。ping自己网站velep.com,出现如下提示:

Ping request could not find host velep.com. Please check the name and try again.

但直接ping自己网站velep.com的IP地址,却可ping通。于是在浏览器上直接用自己网站velep.com的IP地址登陆,由于是共享主机,使用的是共享IP,所以自然是打不开自己的网页,而打开的是“Default Web Site Page”。该页而上有一句话引起了我的注意,如下:

It may be possible to restore access to this site by following these instructions for clearing your dns cache.

点击上面的链接,居然进入到了cpanel网站。按照提示在window命令行下使用ipconfig /flushdns命令,进行了“clearing your dns cache”操作。然后再打开自己网站velep.com,居然可以访问正常了。下面贴出cpanel网站提供的信息:

Clearing Your DNS Cache

Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. If the location of the page changes before the entry in your DNS cache is updated, you will be unable to access the page.

If you are encountering a high number of HTML 404 error codes, you may need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require.

For more information about the HTML 404 error code, please visit the HTML 404 wikipedia article.

The methods detailed below allow you to remove old and inaccurate DNS information that may result in 404 errors.

 

Windows® XP, 2000, or Vista®

  1. Open the Start menu.
  2. Go to Run.
    • If you do not see the Run command in Vista, search for “run” in the Search bar.
  3. In the Run text box, type: 
    ipconfig /flushdns
  4. Press Enter or Return, and your cache will be flushed.

 

MacOS®

  1. Go to Applications.
  2. Go to Utilities.
  3. Open the Terminal application.
  4. Type: 
    dscacheutil -flushcache
  5. Press Enter or Return, and your cache will be flushed.
» 文章出处: reille博客—http://velep.com , 如果没有特别声明,文章均为reille博客原创作品
» 郑重声明: 原创作品未经允许不得转载,如需转载请联系reille#qq.com(#换成@)
分享到:

 Leave a Reply

(必须)

(我会替您保密的)(必须)

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

   
© 2012 velep.com | reille blog | 管理| 粤ICP备15065318号-2| 谷歌地图| 百度地图| Suffusion theme|Sayontan Sinha

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