Home  >  Article  >  Backend Development  >  How to change localhost to another name_PHP tutorial

How to change localhost to another name_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:39:151028browse

ctrl + r => Enter drivers => etc/hosts, open it with Notepad, add a line under 127.0.0.1
localhost, save 127.0.0.1
d.cn and it will be OK. Think Change it to something, such as baidu.com or hello.world

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/732385.htmlTechArticlectrl + r = enter drivers and press Enter = etc/hosts, open it with Notepad, at 127.0.0.1 localhost Add a line below, save 127.0.0.1 d.cn and it will be OK. Change it to whatever you want, for example, change it to baidu...
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