Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 /productX.

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?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.