Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Posts
    567
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Local host issues. Got help?

    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.
    Scott Stewart
    Always happy to learn from pros.

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    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.
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •