我想在Windows 7上的本地IIS上设置诸如sub1.mydomain.dev和www.mydomain.dev之类的本地域,以测试跨域内容(asp.net应用程序)...反正可以这样做吗?
This should not be done in IIS, but in the DNS server.
You can spoof this by updating your hosts file and add entries for the additional domain names, pointing them to the same server.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.