问题
I have a domain domain.com which hosts asp.net website. I want to add virtual sum-domain blog.domain.com , support.domain.com etc without adding sub-domain under DNS.
I have tried couple URL rewriting option suggested in Stackoverflow itself. but it didn't work.
when hit www.domain.com it taking to me the redirect/rewrite path. but other than www everything loads with default IIS7 page. Do we really need sub-domain to be created under DNS?
Do we need dedicated IP for this?
Can't we do it programmatically?
Can you anyone please explain in a step by step to implement this?
来源:https://stackoverflow.com/questions/31016115/how-to-load-virtual-sub-domain-without-adding-dns-sub-domain-in-asp-net-using-ur