小编Fin*_*orm的帖子

不遵守对 HOSTS 文件的更改

假设example.com指向1.2.3.4IP 地址。

我希望能够放入something.example.com我的 Windows 主机文件,以便它转到另一个 IP 地址。我已经在 hosts 文件中这样定义了它。

9.8.7.6 something.example.com

当我 pingsomething.example.com我仍然得到1.2.3.4并且当我访问 URL 时,它仍然解析网站1.2.3.4而不是我想要的位置,9.8.7.6

windows configuration hosts-file

2
推荐指数
1
解决办法
416
查看次数

标签 统计

configuration ×1

hosts-file ×1

windows ×1