4.4.22 Ensure virtual hosts are defined to isolate applications

Information

Isolate applications by configuring separate virtual hosts.

Use separate ports using virtual hosts to decouple access to different applications.

Solution

Ensure the following to enable virtual hosting.

- Configure the application with virtual-host name in the enterpriseApplication or webApplication elements in the [Liberty configuration] ${server.config.dir}/configDropins/overrides/*.xml

<webApplication ... >
<web-bnd virtual-host name="myApplication1"/>
</webApplication>

Note: The virtual-host name can also be set in the ibm-web.bnd.xml file in the application.

<xhtml:ol start="2"> - Configure the application to use the specific virtual host in ${server.config.dir}/configDropins/overrides/*.xml

<virtualHost id="myApplication1">
<hostAlias>your_host_name:9080</hostAlias>
</virtualHost>

See Also

https://workbench.cisecurity.org/benchmarks/7724

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7

Plugin: Unix

Control ID: adba35ec9d3e56f51b87cdc7f66c83e923fe52afe99fb8d677a79c449c8c6261