Forum Moderators: open

Message Too Old, No Replies

Anyone know how to set up a new virtual dir in IIS pls help

         

midi25

8:52 pm on Feb 16, 2003 (gmt 0)

10+ Year Member



Hi i am running IIS5 on my windows 2000 machine. At the moment I am putting everything in InetPub/www.root .

Everything is working fine. Buy my only problem is that its all getting cluttered now. I want to be able to create a new virtual dir for each website I use.

So for example when I create a new site in DW I would point at the dir I want to use and just put the files into there. And so on for the next site.

This method would then keep the relevant files in the relevant dirs.

Is their a way to do this. I persume this is what all hosting companines do on win servers. Create multiple vir dirs.

If someone could tell me how to do this I would be ever so thankful.

Dreamquick

10:10 pm on Feb 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Virtual directories are only really useful if they are either;
a) required to use their own global.asa
b) have a different name / path than the real directory

You might be able to get away with creating normal sub-directories unless you really need to have a virtual dir.

You create a virtual directory like this - enter the IIS Manager, drill down until you reach the site you want to create the virtual directory for. Right click it and select new, and from here select virtual directory - at this point it goes into a wizard so you shouldn't need help from there on in.

Hosting companies don't normally create virtual directories for clients - they just give the client a way to do it for themselves e.g. in my web-based manager I have a menu option to create and modify virtual directories.

If you mean how do hosts give different clients different sites on the same server then that's something called a virtual server.

Basically it's several sites running on the same IP address - IIS doesn't do this "out of the box" on its own, plus you can't do it "properly" with anything less than a server edition because they don't support the creation of multiple websites.

- Tony

Xoc

5:11 pm on Feb 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you are running Windows 2000 server, then you can create as many web sites as you wish on the same machine. On the other hand, the Workstation version of Windows only supports one web site.

midi25

5:25 pm on Feb 17, 2003 (gmt 0)

10+ Year Member



I am only running Win2k Pro not the server version.