Home > Backend Development > PHP Tutorial > hosts文件的小疑点

hosts文件的小疑点

WBOY
Release: 2016-06-13 13:42:35
Original
1042 people have browsed it

hosts文件的小问题
我在hosts文件加入了一行:

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
127.0.0.1    a.weibo.com

Copy after login


但是在浏览器中输入a.weibo.com时,它还是跳转到新浪微博了

但是把“a.weibo.com”改成“b.weibo.com”就可以跳转到本地了

这是为什么呢?

谢谢!

------解决方案--------------------
在你另一个帖子中。右上角--我的帖子 中查看。
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template