又
今天早早来到办公室,上网发现访问不了博客,页面无法显示。原还打算来早些处理工作上的事,但凌晨才搭起来的博在办公室却不能访问了,这让我有些胸闷,单想着要先解决它。干着急了会儿,碰到群里一朋友,问了下他,疑为我办公室所在局域网内的DNS主机解析设置问题。他教我自行修改本机hosts,问题果然解决了。现记录如下:
进入C:\windows\system32\drivers\etc,用记事本打开目录下hosts文件:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host127.0.0.1 localhost
在最后一行下面再添加一行语句,格式为:虚拟主机IP,然后tab(非空格),博客域名。修改保存后,再行登陆。
“凤凰”才去几天,热带风暴“北冕”又来了,早上10点多突然间阴风暴雨。这台风和热带风暴,都争先恐后地来赶场。
郁闷。接着赶稿子。
Leave a Comment