ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/admin/acvhost.htm

109 lines
5.1 KiB
HTML
Raw 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>Administer virtual hosts with the WebSphere administrative console</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="acsvhost"></a>Administer virtual hosts with the WebSphere administrative console</h4>
<p>A virtual host is a configuration entity that allows WebSphere Application Server - Express to treat multiple host names, IP addresses, or port numbers as a single logical host. For more information, see <a href="vhosts.htm">Virtual hosts</a>.</p>
<p>You can use the WebSphere administrative console to perform these tasks with virtual hosts:</p>
<ul>
<li><a href="#config">Configure new virtual hosts</a></li>
<li><a href="#modify">Modify virtual hosts</a></li>
<li><a href="#remove">Remove virtual hosts</a></li>
</ul>
<p><strong><a name="config"></a>Configure new virtual hosts</strong></p>
<p>To configure a new virtual host, follow these steps:</p>
<ol>
<li><a href="acstart.htm">Start the WebSphere administrative console</a>.</li>
<li>In the topology tree, expand <strong>Environment</strong> and click <strong>Virtual Hosts</strong>.</li>
<li>On the <strong>Virtual Hosts</strong> page, click <strong>New</strong>.</li>
<li>Specify a name for the virtual host.</li>
<li>Click <strong>Apply</strong>.</li>
<li>Configure one or more aliases for the virtual host.
<ol type="a">
<li>On the virtual host's detail page, click <strong>Host Aliases</strong>.</li>
<li>On the <strong>Host Aliases</strong> page, click <strong>New</strong>.</li>
<li>Specify a host name and port number for the alias.</li>
<li>Click <strong>OK</strong>.</li>
</ol></li>
<li>Configure MIME type extension mappings defined the virtual host. By default, several common mappings are configured for the new virtual host. To add a mapping, follow these steps:
<ol type="a">
<li>On the virtual host's detail page, click <strong>MIME Types</strong>.</li>
<li>On the <strong>MIME Types</strong> page, click <strong>New</strong>.</li>
<li>Specify a MIME type and extensions that map to it.</li>
<li>Click <strong>OK</strong>.</li>
</ol></li>
<li><a href="acsave.htm">Save the configuration</a>.</li>
<li><a href="qshgenplgcfg.htm">Regenerate the Web server plugin configuration</a>.</li>
</ol>
<p><strong><a name="modify"></a>Modify virtual hosts</strong></p>
<p>To modify a virual host, follow these steps:</p>
<ol>
<li><a href="acstart.htm">Start the WebSphere administrative console</a>.</li>
<li>In the topology tree, expand <strong>Environment</strong> and click <strong>Virtual Hosts</strong>.</li>
<li>On the <strong>Virtual Hosts</strong> page, click the name of the virtual host that you want to modify.</li>
<li>Make your changes. You can add, modify, and remove host aliases and MIME type mappings. (To add host aliases and MIME types, see the steps above.)
<ul>
<li>To modify a host alias, follow these steps:
<ol type="a">
<li>Click <strong>Host Aliases</strong>.</li>
<li>On the <strong>Host Aliases</strong> page, click the name of the alias that you want to modify.</li>
<li>Make your changes.</li>
<li>Click <strong>OK</strong>.</li>
</ol><p></p></li>
<li>To remove a host alias, follow these steps:
<ol type="a">
<li>Click <strong>Host Aliases</strong>.</li>
<li>On the <strong>Host Aliases</strong> page, select the checkbox for the alias that you want to remove.</li>
<li>Click <strong>Delete</strong>.</li>
</ol><p></p></li>
<li>To modify the MIME type mappings, follow these steps:
<ol type="a">
<li>Click <strong>MIME Types</strong>.</li>
<li>On the <strong>MIME Types</strong> page, click the MIME type that you want to modify.</li>
<li>Make your changes.</li>
<li>Click <strong>OK</strong>.</li>
</ol><p></p></li>
<li>To remove a MIME type, follow these steps:
<ol type="a">
<li>Click <strong>MIME Types</strong>.</li>
<li>On the <strong>MIME Types</strong> page, select the checkbox for the MIME type that you want to remove.</li>
<li>Click <strong>Delete</strong>.</li>
</ol><p></p></li>
</ul><p></p></li>
<li><a href="acsave.htm">Save the configuration</a>.</li>
<li><a href="qshgenplgcfg.htm">Regenerate the Web server plugin configuration</a>.</li>
</ol>
<p><strong><a name="remove"></a>Remove virtual hosts</strong></p>
<p>To remove a virtual host, follow these steps:</p>
<ol>
<li><a href="acstart.htm">Start the WebSphere administrative console</a>.</li>
<li>In the topology tree, expand <strong>Environment</strong> and click <strong>Virtual Hosts</strong>.</li>
<li>On the <strong>Virtual Hosts</strong> page, select the checkbox for the virtual host that you want to remove.</li>
<li>Click <strong>Delete</strong>.</li>
<li><a href="acsave.htm">Save the configuration</a>.</li>
<li><a href="qshgenplgcfg.htm">Regenerate the Web server plugin configuration</a>.</li>
</ol>
</body>
</html>