Configure a new HTTP server instance

The HTTP server routes incoming requests to the application server for processing.

To configure a new HTTP server instance with HTTP Server Administration interface, follow these steps:

  1. Start the *ADMIN HTTP server instance. From a CL command line, run this command:

    STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
  2. Start the HTTP Server Administration interface in your Web browser.

  3. Create the HTTP server instance.

    1. Click the Setup or Manage tab.
    2. Expand Tasks and Wizards.
    3. Click Create New HTTP Server, and click Next.
    4. Select HTTP server (powered by Apache), and click Next.
    5. Type a name for the HTTP server instance. You can also enter a description for the HTTP server instance. Click Next.

      Notes:
      • When the server is running, the server name is displayed on the Work With Active Jobs screen, under the HTTPSVR subsystem.
      • Make a record of the server name. This name is required in later configuration steps.
    6. Set the server root. You can use the default value, or you can specify another server root directory. Click Next.
    7. In the next panel, set the document root. You can use the default value, or you can specify another document root directory. Click Next.
    8. Select the IP address and port.
      1. In the IP address field, select All addresses.
      2. The default port number is 80. You can use the default, or specify a different port number for the HTTP server to use to process requests. Click Next.

        Notes:
        • If you specify a port other than the default port, you must configure your virtual host Domain Name System (DNS) aliases in the administrative console to reflect your port number. For more information, see Administer virtual hosts.
        • Make a record of the internal HTTP port. This port number is required in later configuration steps.
    9. Select a logging option. It is recommended that you select Yes. The logs are stored in the /server_root/logs directory, where server_root is the server root that you set previously.
    10. Specify how long you want to keep the error and access log files. Click Next.
    11. Review your settings. To create the HTTP server instance, click Finish. To make changes, click Back.

  4. After you create the HTTP server instance, configure the HTTP server to work with WebSphere Application Server.

    1. Click the Manage tab.
    2. In the navigation menu, expand Server Properties and click WebSphere Application Server.
    3. Select the version of your WebSphere Application Server instance, then select the name of the instance.
    4. Click OK or Apply.