Partager via


How to Configure a Web Server

In Commerce Server Manager, the Commerce Web server objects contain properties needed by the Data Warehouse in order to import log files. When you add a Web server to an application, these properties are automatically populated from Internet Information Services (IIS) and stored in the Administration database.

Note

When the Web servers in this application are running IIS box in the Application Properties dialog box is selected, you can only use either the New log file period or Log file mask property; you cannot use both properties. If the Synchronize the log file name and location box on the Application Properties dialog box is selected, the value in the Log file directory box in the Web Server Properties dialog box is overwritten with the value in IIS. The Synchronize Values button is activated only when the Web servers in the application are using IIS option is selected on the General tab in the Applications Properties dialog box, and you have made changes using the IIS user interface. You can then use the Synchronize Values button to synchronize Commerce Server Manager with IIS.

To configure a Web server

  1. Click Start, point to Programs, point to Microsoft Commerce Server 2009 , and then click Commerce Server Manager.

  2. In the Commerce Server Manager console, in the left pane, expand Commerce Server Manager, expand Commerce Sites, and then click the site that you want to administer.

  3. Expand Applications, expand the application that contains the Web server you want to configure, right-click the Web server object, and then click Properties.

  4. In the <Web server> Properties dialog box, on the Identities tab, do the following:

    Use this

    To do this

    Server name

    Type the name of the computer on which the Web server is installed. Change the name only if you have renamed the server.

    Identities

    This box displays the IP Address for the Web server, the TCP port, and the host header name. These values are first read from IIS.

    You cannot edit this box.

    SSL Identities

    This box displays the IP address and SSL port for the Web server. These values are first read from IIS.

    You cannot edit this box.

  5. On the Log Files tab, do the following:

    Use this

    To do this

    New Log Time Period

    Specify how long the IIS Web site writes to a log file before it creates a new file. This value is first read from IIS.

    Log file directory

    Type the path of log file to which the IIS Web site writes events, for example, C:\Winnt\System32\LogFiles\Log1. This value is first read from IIS. However, you may want to specify a different directory if you copy the Web log files from the Web server to a central location before you run the import DTS tasks.

    Log file code page

    This box displays the code page used by the whole file.

    You cannot edit this box.

    URL encoding code page

    This box displays the code page used for all URLs.

    You cannot edit this box.

  6. In the <Web server> Properties dialog box, click OK.

See Also

Other Resources

How to Specify the Domain Name

How to Add a Web Server to an Application

How to Configure an Application

How to Add an Application to a Site

Managing Commerce Sites and Applications