Operating Systems: i5/OS
Personalize the table of contents and search results
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
- 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:
- Using a Web browser, go to the IBM HTTP Server for iSeries configuration
and administration forms.
- Open this URL in your browser:
http://your.server.name:2001/
The your.server.name variable
is the name of your iSeries server.
- Enter a valid user ID and password for your iSeries server.
- Select IBM Web Administration for iSeries (or i5/OS) at
the iSeries Tasks page.
- The IBM Web Administration for iSeries (or i5/OS) page is displayed.
- To create a new HTTP server, click the Setup tab.
- Expand Common Tasks and Wizards.
- Click Create New HTTP Server.
- Select HTTP server (powered by Apache),
then click Next.
- 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.
- Type the server root, then click Next.
You can use default values or you can specify another server root
or document root directory.
- Set the document root in the next panel, then click Next.
- Select the IP address and port.
- Select All addresses in the IP address field.
- 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.
- 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.
- Specify how long you want to keep the error and access log files,
then click Next.
- Review your settings. To create the HTTP server instance, click Finish.
To make changes, click Back.
- After you click Finish, the configuration
is created. The Manage Apache Server page is displayed.
- Configure the HTTP server instance
After you create
the HTTP server instance, configure the instance so that it works with WebSphere
Application Server.
- Click the Manage tab. In the Server list,
select the HTTP server instance that you want to manage.
- 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.
- 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
|