sites Element [IIS Settings Schema]
Note
For more information about the sites element, see the following topic on the Microsoft IIS.net Web site: Sites <sites>.
Defines all sites on the server, and all applications and virtual directories in those sites.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
None.
Child Elements
Element |
Description |
---|---|
applicationDefaults |
Optional element. Specifies default settings for all applications on the server. |
site |
Optional element. Specifies configuration settings for a site. |
siteDefaults |
Optional element. Specifies default settings for all sites on the server. |
virtualDirectoryDefaults |
Optional element. Specifies default settings for all virtual directories on the server. |
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.applicationHost |
Specifies the root element for configuring Web process settings. |
Remarks
For more information about the sites element, see the following topic on the Microsoft IIS.net Web site: Sites <sites>.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
See Also
Reference
applicationDefaults Element for sites Element [IIS Settings Schema]
site Element for sites [IIS Settings Schema]
siteDefaults Element for sites [IIS 7 Settings Schema]
virtualDirectoryDefaults Element for sites (IIS Settings Schema)