I have recently been working on reworking a website out of URLRewriting/Rewriter to .net Routing.
Historically, i have always had a subdomain registered in IIS/Apache and then developed an application against those "domains". I came across an idea of what if i could rewrite subdomain address to a domain file?
Basic idea:
- http://blog.domain.com using Routing to http://domain.com/blog.aspx
- http://cms.domain.com using Routing to http://domain.com/cms.aspx
- http://cms.domain.com/files/something.docx using Routing to http://domain.com/cms.aspx?t=files&nm=something&ex=docx
Those are just theoretical examples but was wondering with the idea of using .net Routing would it be possible to obtain the subdomain effect without actually registering the subdomain in IIS/Apache as i was used to in the past?