域名与IP对应,解决只能IP访问不能域名访问的问题 sudo vim /etc/hosts 127.0.0.1 localhost 127.0.1.1 ubuntu 192.168.1.60 api.sscmp.com