Setting up Virtual Directory Locally with Vista and IIS 6

i hope this is the correct place to post this…

so here goes, i think i’ve seen a million ways on how to create a virtual directory, but either they seem super complicated or they just don’t work, so i hope there is someone here who can assist me in setting up a virtual directory for my website located on my d drive.

must admit that the previous IIS setup was much easier… or maybe because i knew how it worked, but i seriously need help and it would be greatly appreciated if someone can please assist me in setting this up.

thank :slight_smile:

Your first problem here is that Vista has IIS7. That said, it really is not any harder – right click on whatever you want to be the root of said VD, follow prompts. What are you trying and how exactly are you running into trouble?

haha! um… i just had to double check, but it is def saying IIS 6.0…

i know with the previous versions of IIS i would say “add virtual directory” and link to the folder and follow the steps of what i want and there, its done and i can link to it by typing in: http://localhost/project/

but now, i say add virtual directory and add the direct path but nothing is happening and it’s not showing me the options to check or does the link in the web browser work when i say browse…

Are you sure you have vista then? afaik IIS6 is supported only on W2003 server. IIS7 has a completely different administrative interface but once you find the different places to do things you do pretty much the same configuration tasks in IIS7 and IIS6.

haha! i’m 100% sure i’ve got Vista. this is sooo confusing. when i search for IIS it brings up the two options of IIS Manager and IIS 6.0 Manager. both of them looks the same to me when i open them…

okay, so i managed to download IIS 7, well, the welcome page says its IIS 7 this time but the file name still says IIS 6, very confusing i know… but still no luck in me setting up a virtual directory. i created a ‘new virtual directory’, and selected to use my ip address and then the file name, but it just brings up a blank page when i say browse. i’m not sure if it is because my projects are saved on my D drive and not on my C drive, although i still go to the root folder of the project and then say connect…

I think you just created a new web site, which is different from a virtual directory.

What you want to do is right click on the website – probably default website – and choose create new application or virtual directory.

okay, when i open IIS i then go into my pc and then there is a folder called sites (no more drill downs after that). i then right click and say add website and then add local host and use the IP address (basically the only viable option). i then click on the newly added website globe thing and say add virtual directory and add the directory. when i then right click on the newly added directory and say browse it takes me to a blank window… :frowning: what am i doing wrong? i understood how to use the previous versions of IIS with windows XP, and there was a lot more options that you change and add, so i’m def missing something, just don’t know what or how to get there. some of the sites that i’ve googled on how to set up a VD talks about adding code and stuff, which i’ve never had to do before. all my files required are in the files for the website and it runs perfectly via VS

Where are you downloading IIS7? IIS has been built-in part of the windows OS, not available as a stand-alone download. There are add-ons and the management program that can be downloaded but not the IIS server itself.

urg, that is just fantastic, so i downloaded the wrong thing then too. well, i googled IIS 7 download and it directed me to IIS website where i had the option to download and install it. it linked via microsoft platform so i thought it was correct. it looks okay…