Operating Systems: i5/OS
             Personalize the table of contents and search results

This topic applies only on the i5/OS operating system.

 

Create and configuring an HTTP server instance

 

This topic describes how to create and configure an IBM HTTP Server instance.

This article assumes that you have started the *Admin instance of IBM HTTP Server. See Starting the *ADMIN instance of IBM HTTP Server for more information.

 

Overview

Use this procedure to create and configure an instance of IBM HTTP Server.

If you have an existing instance that you want to use with WebSphere Application Server, skip directly to the configuration step.

 

Procedure

  1. Create a new instance of IBM HTTP Server.

    To create a new instance of the IBM HTTP Server (powered by Apache) with a basic configuration, use the IBM HTTP Server for iSeries configuration and administration forms.

    Perform the following steps:

    1. Using a Web browser, go to the IBM HTTP Server for iSeries configuration and administration forms.

      1. Open this URL in your browser:

        http://your.server.name:2001/
        The your.server.name variable is the name of your iSeries server.

      2. Enter a valid user ID and password for your iSeries server.

      3. Select IBM Web Administration for iSeries (or i5/OS) at the iSeries Tasks page.

    2. The IBM Web Administration for iSeries (or i5/OS) page is displayed.

      1. To create a new HTTP server, click the Setup tab.

      2. Expand Common Tasks and Wizards.

      3. Click Create New HTTP Server.

    3. Select HTTP server (powered by Apache), then click Next.

    4. In the right frame, type a name for the HTTP server instance and an optional description, then click Next.

      The name appears in the HTTPSVR subsystem when the job is running.

      Write down the HTTP server instance name for use in later steps.

    5. Type the server root, then click Next.

      You can use default values or you can specify another server root or document root directory.

    6. Set the document root in the next panel, then click Next.

    7. Select the IP address and port.

      1. Select All addresses in the IP address field.

      2. Accept the default port, 80, for the port number that the HTTP Server instance uses to process requests or type a unique port number, then click Next.

      If you specify a port other than the default port, configure your virtual host Domain Name System (DNS) aliases in the administrative console to reflect your port number. For more information, see Virtual hosts.

      Write down the internal HTTP port number for use in later steps.

    8. Select a logging option.

      It is recommended that you select Yes. Logs are stored in the /server_root/logs directory, where server_root is the server root that you set earlier.

    9. Specify how long you want to keep the error and access log files, then click Next.

    10. Review your settings. To create the HTTP server instance, click Finish. To make changes, click Back.

    11. After you click Finish, the configuration is created. The Manage Apache Server page is displayed.

  2. Configure the HTTP server instance

    After you create the HTTP server instance, configure the instance so that it works with WebSphere Application Server.

    1. Click the Manage tab. In the Server list, select the HTTP server instance that you want to manage.

    2. With your HTTP server selected, expand Server Properties in the left frame. Click WebSphere Application Server. Select the version of WebSphere Application Server to configure, and select the default WebSphere Application Server profile.

    3. Click OK to write the changes to the configuration file and return to the main configuration page.

 

What to do next

You have completed step 3 of 5.

Go to Starting WebSphere Application Server to continue the installation.


}

 

Related tasks


Configuring IBM HTTP Server for i5/OS