Home  >  Article  >  Backend Development  >  更改localhost为其他名字的方法_PHP

更改localhost为其他名字的方法_PHP

WBOY
WBOYOriginal
2016-06-01 11:57:061093browse

ctrl + r => 输入drivers回车 => etc/hosts , 用记事本打开它,在 127.0.0.1
localhost 下面增加一行, 127.0.0.1
d.cn保存就OK了. 想改成啥改成啥, 比如改成baidu.com 或是 hello.world

Statement:
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