Wildcard subdomain on localhost using host file [closed]

▼魔方 西西 提交于 2019-12-12 15:25:33

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!