Mac 修改hosts的方法

3 min read

1.打开终端

$ sudo vi /etc/hosts
复制

2.输入Mac访问密码

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
104.27.146.173  limbopro.com
104.27.147.173  limbopro.com
复制

修改示例如上,对应添加网站CDN IP地址以及相应域名即可
以上。