host"/>
设置host
macOS
sudo nano /etc/hosts
sudo nano /etc/hosts127.0.0.1 yourdomain
127.0.0.1 subdomain.yourdomain
```将 `yourdomain` 替换为您要配置的域名,将 `subdomain.yourdomain` 替换为您要配置的子域名。确保 IP 地址为 `127.0.0.1`,这将指向本地主机。sudo dscacheutil -flushcache
```
Windows host
更多推荐
设置host
发布评论