我试图在Windows 7上运行IIS 7的开发计算机上设置子域。
它看起来像是可以通过编辑C:\Windows\System32\drivers\etc的hosts文件,像这样添加行:
C:\Windows\System32\drivers\etc
hosts
127.0.0.1 localhost 127.0.0.1 abc.localhost
我想知道如果这可以做到不添加每个子域的configuration?
这里给出的答案听起来可能是这样,但对我来说不是很清楚。