Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 am having trouble with a web application; it works fine in the Visual Web Developer IDE, and not at all on the server. My plan is to run the application from the web browser without the IDE being involved by dropping it into the localhost directory and running it from the browser.

But I can't find where this directory is. Does anyone know how to find out?

share|improve this question
I'm assuming you want to find the local folder that is served through your HTTP server when you put localhost into your browser? If so, what HTTP server are you using? – Oliver Salzburg Sep 14 '12 at 14:40
@OliverSalzburg, yes, that is correct, and I have no idea. Whatever comes as standard with Windows-XP, I would suspect. – Brian Hooper Sep 14 '12 at 14:45
I'm assuming Visual Web Developer has an HTTP server built in. So when you're running your application, it runs inside of Visual Web Developer. Windows XP does not come with an HTTP server installed by default. You can run netstat -bn on the command line to see which process is listening on which port on your local machine. Maybe that'll allow you to dig deeper :) – Oliver Salzburg Sep 14 '12 at 15:09
up vote 1 down vote accepted

There is no such thing as a localhost directory by default. You first have to install a web server, and then drop your files in the directory that is specified in the configuration. The default for Apache is C:\Program Files\Apache Software Foundation\htdocs, for instance, but it completely depends on your configuration.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .