Web Site Settings

This view allows you to properly install and configure a new Web Site on the target IIS Server.

General

Name

The friendly name of the web site. This field is of Formatted Type and can be edited using Smart Edit Control.

Warning! If, at install time, the site name is set to "Default Web Site", then the configuration for that site will be skipped. Only the settings configured for its child items (web applications and virtual directories) will be set and installed under "Default Web Site".

Folder

You can set the root physical folder for the new web site. Use the [ ... ] button to change the root location. The Folder Picker Dialog will be displayed allowing you to choose a folder.

Install Condition

You can set a condition for the installation of this web site. The condition will be evaluated during maintenance as well. Edit this field using Smart Condition Edit Control.

TipUse the following recommended condition so that web sites can get removed or installed during maintenance depending on how the user sets their feature states:

(!WebSiteFeature = 3 AND &WebSiteFeature <> 2) OR (&WebSiteFeature = 3)

Where WebSiteFeature is the identifier of the feature containing the web site's resources.

Enable pre-loading

The website is loaded before the first request for it arrives from the users. This refers to database connections, .NET Framework, and the just-in-time compilation for ASP.NET applications, that usually get loaded the first time a user requests the website.

Having all the above already loaded will make improve the UX for the first user accessing the website.

Start Web Site immediately

If this option is checked, the Advanced Installer IIS configuration tool will attempt to start the associated service instance for the newly created Web Site.

Identity

Although you can configure a friendly name for your Web Site, this plays absolutely no role in the server' configuration; it's mearly informative. However, if you want to manually configure a Web Site (advanced settings) you must refer to it by its internal identifier (also called an index). This identifies the Web Site within its server, as well as within a web form.

Automatic (recommended)

When Advanced Installer IIS configuration tool creates a Web Site on a server, automatically assigns it the first available index on that system, so you don't have to worry about manually managing the conflicts between existing Web Sites.

Manual

However, you may want to manually specify a Web Site identifier (index). This can be a fixed project integer value or you can use a property reference to dynamically set its value at run time.

NoteIn case of an identity conflict, you have the option of assigning to the Web Site the next available index on that server or to apply the "Error Policy" specified for that Web Site.

Error Policy

Action if duplicate

Select the IIS configuration tool's desired behavior when a duplicate Web Site is found on the target server.

  • Skip item installation - when a duplicate Web Site is found the installer will automatically skip the item's installation and continue the setup.
  • Rollback installation - when a duplicate Web Site is found the installation will rollback with an error message.
  • Prompt user to skip item or rollback installation - when a duplicate Web Site is found the user will be prompted to choose whether to continue the installation skipping that item or to abort.
  • Prompt user to overwrite item or rollback installation - when a duplicate Web Site is found the user will be prompted to choose whether to continue the installation overwriting that item or to abort.

Warning!The overwrite operation cannot be undone by uninstall or rollback !