Partager via


How to Add a Web Server to an Application

When you add a Web server to an application, you are adding the Web pages and graphics, such as .gif and .jpg files, and other files for the application to the Web server computer. The Web server computer must already have Internet Information Services (IIS) and Commerce Server installed on it.

To add a Web server to an application, you can use Commerce Server Site Packager. After you add a Web server to an application, the Commerce Web server object appears under the application node in Commerce Server Manager. The Web server object contains the properties needed by the Data Warehouse in order to import log files: server name, IP Address, log file path, and log file period. These properties are automatically populated from IIS when you add a Commerce Web server object to an application.

Make sure that you have permissions on the computer that you are unpacking onto. Before you follow this step, you must create a package file that contains the ASPX files for the application.

To add a Web server to an application

  1. On the Web server computer that you want to add to the application, 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 expand the site that you want to administer.

  3. Expand Applications, right-click the name of the application to which you want to add the Web server, point to New, and then click Add Web server.

  4. In the Add Web Server From dialog box, move to the folder that contains the file that you want to unpack, select the file, and then click Open.

    Site Packager starts.

  5. In the Select IIS Web Sites and Virtual Directories dialog box, verify that the IIS application paths and virtual directories are correct, and then click Next.

    Site Packager adds the files to the Web server, and then adds the Commerce Web server object to the selected application. When you open Commerce Server Manager, the Commerce Web server object appears under the application.

  6. In the Unpacking is complete dialog box, review the list of SQL databases and IIS applications that were created. To review the list of events in the Pup.log file, click View Log File.

  7. To close Site Packager, click Finish.

See Also

Other Resources

How to Configure a Web Server

How to Specify the Domain Name

How to Restart IIS

Managing Commerce Sites and Applications