[IBM i]

Starting HTTP server instances on IBM i

IBM® HTTP Server for IBM i runs in the QHTTPSVR subsystem, and each HTTP Server instance starts multiple jobs. The WebSphere® Application Server code that plugs into IBM HTTP Server for IBM i runs in the HTTP Server job that communicates with one or more application servers. Start the HTTP Server instance to enable communication with the application server.

Before you begin

This article assumes that you have already created an HTTP server instance. If you have not yet created an HTTP server instance, see Configuring IBM HTTP Server for IBM i.

About this task

Use this procedure to start the HTTP Server instance for the HTTP Server you are using.

Procedure

  • Start IBM HTTP Server.
    Enter the following command on the CL command line:
    STRTCPSVR SERVER(*HTTP) HTTPSVR(myinst)
    The myinst variable is the name of your HTTP server instance. This is the HTTP instance that you configured in Configuring IBM HTTP Server for IBM i.

    If you change your HTTP server instance configuration, stop and then start your HTTP server instance.

    To stop your HTTP server instance, enter this command from the CL command line:
    ENDTCPSVR SERVER(*HTTP) HTTPSVR(myinst)

    The myinst variable is the name of your HTTP server instance. This is the HTTP instance that you configured in Configuring IBM HTTP Server for IBM i.

    You can also stop and start your HTTP server instance from the IBM HTTP Server for IBM i Configuration and Administration forms in the browser-based interface. For instructions on using the browser-based interface, see Configuring IBM HTTP Server for IBM i.

    The Configuration and Administration forms provide the option of restarting, as opposed to starting and stopping, your HTTP server instance. When restarting, the HTTP server recognizes all configuration changes except changes to the Basic and Security configuration forms.

  • Start Lotus® Domino® HTTP Server

    If you have not yet configured the Lotus Domino Web server, see Configuring Lotus Domino HTTP Server on IBM i.

    Perform the following procedure to start the Domino server web task:

    1. Enter the Work with Domino Servers (WRKDOMSVR) command on a Control Language (CL) command line.
    2. For your Domino server instance, specify option 8 to select the Domino server console.
    3. From the Domino server's console, enter this command to restart the Domino server HTTP task:
      tell http restart