问题
I'm trying to set up sub-domains on my development machine that runs IIS 7 on Windows 7.
It looks like it is possible by editing hosts
file in C:\Windows\System32\drivers\etc
by adding line like this:
127.0.0.1 localhost
127.0.0.1 abc.localhost
I'm wondering if this could be done without adding a configuration for each sub-domain?
Answer given here sounds like this might be possible but it's not clear to me...
来源:https://stackoverflow.com/questions/15103084/wildcard-subdomain-on-localhost-using-host-file