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.

Working in IIS7x and a handful of MVC3 sites. I'm trying to make the contents single folder (.wvm files) accessible to a number of different websites (each resolving to a different domain).

How do I configure the server so that links resolve to a physical path on the server's drive instead of a relative path within a given site's folder structure?

e.g. the same physical file should serve both these requests

http://www.mySite1.com/media/aCommonVideo.wmv
http://www.myOtherSite.com/media/aCommonVideo.wmv

thx

share|improve this question

2 Answers 2

This is a job for Virtual Directories. See here.

share|improve this answer
    
beat me to it :) –  Eric C. Singer Jan 30 '12 at 22:36

Create a virutal folder in each of those descrete IIS sites called "Media" that points to the same physical folder.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.