找到C:\Windows\System32\drivers\etc\hosts这个文件,将hosts文件中的”127.0.0.1       localhost“中localhost换成您想要的域名。如

# localhost name resolution is handled within DNS itself.

 127.0.0.1       localhost

换成

127.0.0.1       www.17le.com.cn

然后在浏览器里面输入www.17le.com.cn实际上就是localhost。

相关文章:

  • 2021-07-17
  • 2021-11-18
  • 2022-12-23
  • 2021-11-11
  • 2021-04-10
  • 2022-12-23
猜你喜欢
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-03-05
  • 2021-12-11
相关资源
相似解决方案