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

I have a site where users upload audio files they've recorded. The primary hard drive the site is running on is fairly small, so I'd like to make the upload directory reside on a separate, larger hard drive. I could create another site running under a subdomain, but I'd prefer to keep the URL structure like: site.com/uploads instead of uploads.site.com. Is it possible to point /uploads do a different folder/drive than the rest of the site is running on?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Yes, you just create a Virtual Directory off of site.com. You can give it a path on a local physical drive or an UNC path to a remote resource (assuming you have the appropriate permissions).

In IIS Manager:

  • Right-click the site.com site and choose Add Virtual Directory...
  • In the Alias box enter uploads
  • In the Physical Path box enter the path to your uploads 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.