View Full Version : How to create virtual directory under default web site in IIS of windows 2003 server
12-01-2005, 09:42 AM
Hello :) ,
In windows 2003 server,
under IIS 6.0,
Web sites -> Default Web sites, I want to create virtual directory.
Also want to create Application Pool which will point to virtual directory :) .
This all I have to do thru Installshield 11.0.
can any one suggest me any input on this. :(
Thanks in Advance.
12-01-2005, 09:51 AM
There is an IIS Application node where you can add a new Website and / or Virtual Server object.
12-01-2005, 11:13 PM
Thanks for reply.
I have done the same, I am getting my Virtual directory created under the newly created web site.
But I want to create VDir under default web site node present in IIS 6.0.
Also want to create the pool for that VDir. :confused:
Through Install , it allows me to create under newly created web site & not under Default Web site. :o
Any Input on this?
12-05-2005, 01:02 PM
Just give it a try and I think the results will be what you want. If the website already exists on the port, you are right that it won't create a new web site. However, it should create the virtual directories and apppools that you added to your installshield project under the existing web site (the default web site).
01-05-2007, 01:21 PM
I, too, have had this problem. I am attempting to install to the Default Web Site node that is already present in IIS. However, what we've found is that in many cases, this actually creates another node called Default Web Site, instead of simply installing the virtual directory to the existing one. Sometimes (as in the attached screenshot) it simply appends the "2" to the site name. This seems to be how it works in Vista and Windows 2000 server. In XP, it actually creates another site with the exact same name (which should not be possible). Although sometimes, the same installer on the same machine will work correctly, and the virtual directories will be placed in the correct location under the existing node.
I am using InstallShield 12 though.
01-05-2007, 02:09 PM
Websites are indexed by site number, not by site name. That is why it is possible to create 2 sites with the same name.
Set the site number to 0 and the port number to 0 and this should work.
01-05-2007, 03:42 PM
It seems the site number was set to 0, but the port was set to the default of 83... I'll see if this works.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.