How to load virtual sub-domain without adding DNS sub-domain in asp.net using URL rewriting?

眉间皱痕 提交于 2020-01-25 05:21:26

问题


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

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