I have multiple websites (combination of ASP.NET Webforms and MVC3) that we are trying to consolidate under a single domain with each site under a directory on this main domain.
So I want to take the following:
www.producta.com www.productb.com www.productc.com
And convert them to:
www.company.com/producta www.company.com/productb www.company.com/productc
Getting the requests forwarded with ARR is trivial and I have that working. However the problem I'm running into now is references and URL generation. Obviously CSS and JS references will have to be updated manually but I'd like a way to tell a website in IIS that it's root path is now
There are a couple ways I know of that can achieve this:
- Use virtual directories
- Use outbound rewrites
However is there any other way that this could be done?