美文网首页
Set up domain mapping on macOS

Set up domain mapping on macOS

作者: hyperRect | 来源:发表于2017-10-30 15:55 被阅读0次
  1. 修改 macbook host
sudo vi /etc/hosts 

如vagrant 安装了 nginx , 默认是192.168.33.10
可以配置测试

192.168.33.10 demo.frontend.dev
  1. 在Terminal和浏览器进行测试
ping demo.frontend.dev

相关文章

网友评论

      本文标题:Set up domain mapping on macOS

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