Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to access a folder of mp3 files on my local Windows machine through http:// addresses. For example, typing http://localhost:9999/songs/test.mp3 into my browser would play test.mp3, which sits in a specified folder on my C: drive. What is the very simplest way to do this?

(Background: a program I'm using wants me to enter the URLs of these files, but assumes they are remote and accessed over http. It doesn't accept URLs of the form file://C/Users.... So, I'd like to give these local files addresses that makes them "look" remote.)

share|improve this question
up vote 1 down vote accepted

The easiest way would probably be to install WAMP and change the DocumentRoot to point to wherever these files are stored.

If you don't want to install the full WAMP stack, then you can just install apache by itself. That will probably take a bit more configuration, though.

share|improve this answer
It worked; thanks! – RexE Mar 25 '10 at 5:14
Your WAMP link is pointing to some godaddy help text. I think you wanted to point here: – Raffael Luthiger Jan 5 '11 at 0:34

WAMP seems a bit overkill just to host some files... Windows comes with its own HTTP server, IIS. You can install it using "programs and features", "turn windows features on or off"; there you will see "Internet Information Services".

Configuration can be done using the provided graphical tools. An option would be adding a virtual directory to your instance, that points to the directory that holds your files.

share|improve this answer
I know this is anecdotal, but WAMP is overkill? Apache and Mysql together wouldn't use the resources IIS does alone, in my experience. – Aaron Tate Mar 25 '10 at 8:05
It is for hosting files - you don't need php and certainly not mysql for that. Apache in itself would of course be more than sufficient, but you'll have to dive into some configuration files. I for one won't mind to do that, but some windows fans just can't bear the thought of having to edit textfiles... Hence my answer. – Ben Mar 25 '10 at 11:41

If you install Apache by itself on windows, you dont need php or mysql....In my experience apache has been the best thing to host your own files.

share|improve this answer

Your Answer


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.