美文网首页
修改hosts,域名访问本机

修改hosts,域名访问本机

作者: 临天下 | 来源:发表于2016-04-27 15:38 被阅读88次

修改hosts文件,使用域名访问本机

host目录:C:\Windows\System32\drivers\etc\hosts

修改hosts文件如下:
Paste_Image.png

访问www.boosj.com即访问127.0.0.1

ps:

  • tomcat网站默认目录为webapps/
  • wamp网站默认目录为www/

相关文章

网友评论

      本文标题:修改hosts,域名访问本机

      本文链接:https://www.haomeiwen.com/subject/youcrttx.html