【发布时间】:2014-09-18 04:16:19
【问题描述】:
在 system32/drivers/etc 下的 Hosts 文件中我正在这样做
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 debugmodesample.com
但有些 127.0.0.1 无法解析到 debugmodesample.com
Ping 不适用于 debugmodesample.com
【问题讨论】:
-
只需在 debugmodesample.com 之前添加 www。它会起作用的。即 www.debugmodesample.com
-
你确定你已经在 IIS 中的网站绑定中映射了这个域吗?因为否则它将无法正常工作。