View Full Version : Local host issues. Got help?

05-11-2004, 01:56 PM
I've set up the IIS on my lap top so I could test my asp's without the main server. The problem is I sometimes get an error saying the file can't be found when I call an asp from my default file. I have the Microsoft Management Console opened and it shows the default web site etc etc. But it really isn't clear to me what this is all about. I do know that the localhost is running because I can stop and restart it. What all does this MCC do and why can't I put my files in a subfolder and call it like "http://localhost/WebSiteOne/default.asp"? So I can work on multiple projects.

Thanks for your help.

05-11-2004, 07:47 PM
Oh okay, a quick run down on the IIS MMC snap-in.

I'm assuming you are using XP or 2000 professional since your on a laptop. In that watered down version of IIS, you can have just one website. But that doesn't mean you can work on multiple projects through it. If you keep all of your sites together in one folder, it makes it easy. You can go to the properties of the default website then go to the Directory tab (I think that is what it is called, can't remember off the top of my head) and set the location of the website on your computer. If you have a central folder in which all your sites are located, point it to that folder. Then you can access http://localhost/ and the root will be that path. So if you had a sub-folder called "Project1", you'd access by the URL http://localhost/Project1/

Does that make sense? If your projects aren't centrally located, that is okay too. Just let me know and I can step you through virtual directories.