ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/admin/guicfgwebsvr.htm

63 lines
3.8 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Configure a new HTTP server instance</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="guicfgwebsvr"></a>Configure a new HTTP server instance</h3>
<p>The HTTP server routes incoming requests to the application server for processing.</p>
<p>To configure a new HTTP server instance with HTTP Server Administration interface, follow these steps:</p>
<ol>
<li><p>Start the *ADMIN HTTP server instance. From a CL command line, run this command:</p>
<pre>STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)</pre></li>
<li><p><a href="../../../rzaie/rzaiegetstarted.htm">Start the HTTP Server Administration interface</a> in your Web browser.</p></li>
<li><p>Create the HTTP server instance.</p>
<ol type="a">
<li>Click the <strong>Setup</strong> or <strong>Manage</strong> tab.</li>
<li>Expand <strong>Tasks and Wizards</strong>.</li>
<li>Click <strong>Create New HTTP Server</strong>, and click <strong>Next</strong>.</li>
<li>Select <strong>HTTP server (powered by Apache)</strong>, and click <strong>Next</strong>.</li>
<li>Type a name for the HTTP server instance. You can also enter a description for the HTTP server instance. Click <strong>Next</strong>.
<p></p><strong>Notes:</strong>
<ul>
<li>When the server is running, the server name is displayed on the Work With Active Jobs screen, under the HTTPSVR subsystem.</li>
<li>Make a record of the server name. This name is required in later configuration steps.</li>
</ul></li>
<li>Set the server root. You can use the default value, or you can specify another server root directory. Click <strong>Next</strong>.</li>
<li>In the next panel, set the document root. You can use the default value, or you can specify another document root directory. Click <strong>Next</strong>.</li>
<li>Select the IP address and port.
<ol>
<li>In the <strong>IP address</strong> field, select <strong>All addresses</strong>.</li>
<li>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 <strong>Next</strong>.
<p></p><strong>Notes:</strong>
<ul>
<li>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 <a href="guimngvhsts.htm">Administer virtual hosts</a>.</li>
<li>Make a record of the internal HTTP port. This port number is required in later configuration steps.</li>
</ul></li>
</ol></li>
<li>Select a logging option. It is recommended that you select <strong>Yes</strong>. The logs are stored in the /<em>server_root</em>/logs directory, where <em>server_root</em> is the server root that you set previously.</li>
<li>Specify how long you want to keep the error and access log files. Click <strong>Next</strong>.</li>
<li>Review your settings. To create the HTTP server instance, click <strong>Finish</strong>. To make changes, click <strong>Back</strong>.</li>
</ol><p></p></li>
<li><p>After you create the HTTP server instance, configure the HTTP server to work with WebSphere Application Server.</p>
<ol type="a">
<li>Click the <strong>Manage</strong> tab.</li>
<li>In the navigation menu, expand <strong>Server Properties</strong> and click <strong>WebSphere Application Server</strong>.</li>
<li>Select the version of your WebSphere Application Server instance, then select the name of the instance.</li>
<li>Click <strong>OK</strong> or <strong>Apply</strong>.</li>
</ol></li>
</ol>
</body>
</html>