Managing HTTP Servers

Manage your IBM® HTTP Server for i Web server using the IBM Web Administration for i interface.

As your client base grows and changes, and you add or move Web content, you need to redefine your list of servers. After successfully creating an HTTP Server there are a number of basic tasks that you will need to know in order to manage your servers successfully.

Starting and stopping the ADMIN server

The ADMIN server runs on port 2001 (or 2010 for a secure connection) and serves the IBM i Task Page.

You can start the ADMIN server by doing one of the following:

  • In System i® Navigator click Network -> Servers -> TCP/IP and right-click HTTP Administration. Then click Start Instance -> ADMIN.
  • On an IBM i command line type STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN).

You can stop the ADMIN server by doing one of the following:

  • In System i Navigator click Network -> Servers -> TCP/IP and right-click HTTP Administration. Then click Stop Instance -> ADMIN.
  • On an IBM i command line type ENDTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN).

Checking status of a server

To determine the status of your server, do the following using the Web Administration for i interface:

  1. Click the Manage tab.
  2. Click the All Servers subtab.
Note: Items listed as "Unknown" are servers the Web master user profile does not have authority to.

Starting and stopping a server

Select one of the following methods below using the Web Administration for i interface:

Manage one server

  1. Click the Manage tab.
  2. Click the HTTP Servers subtab.
  3. Select your server from the Server list.
  4. Click the Stop icon if the server is running.
  5. Click the Start icon.

Manage all servers

  1. Click the Manage tab.
  2. Click the All Servers subtab.
  3. Click the All HTTP Servers tab.
  4. Select your server name in the table.
  5. Click Stop if the server is running.
  6. Click Start.
Note: When stopping or starting a server, it may take several seconds for the jobs to end or begin. Click Refresh to view the server's current status. If your HTTP Server does not start, see Troubleshooting.

Renaming a server

To rename a server, do the following using the Web Administration for i interface:

  1. Click the Manage tab.
  2. Click the All Servers subtab.
  3. Click the All HTTP Servers tab.
  4. Select the server you want to rename.
  5. Click Rename.
  6. Enter the new name.
  7. Click OK.

You will receive a message that indicates whether or not the task completed successfully.

Note: This does not change the document root or the server root. Only the instance name is changed.

Deleting a server

Once you delete a server, you cannot retrieve it. You must create a server to replace the deleted server. If the server you selected is running, it stops before the system deletes it. The system does not delete the server configuration that is associated with this server or the directory and its contents.

To delete a server, do the following using the Web Administration for i interface:

  1. Click the Manage tab.
  2. Click the All Servers subtab.
  3. Click the All HTTP Servers tab.
  4. Select the server you want to delete.
  5. Click Stop if the server is running.
  6. Click Delete.

You will receive a message that indicates whether or not the task completed successfully.