+

Search Tips   |   Advanced Search

Host alias settings


To set a host alias.

To view this admin console page, click Environment > Virtual hosts > virtual_host_name > Host aliases > host_alias_name.

Host name

IP address, DNS host name with domain name suffix, or the DNS host name that clients use to request a Web application resource, such as a servlet, JSP file, or HTML page.

For example, when the DNS name is myhost, the host alias is myhost:8080, where 8080 is the port. A URL request can refer to the snoop servlet on the host alias as: http://myhost:8080/servlet/snoop.

When there is no port number specified for a host alias, the default port is 80. For existing virtual hosts, the default host name and port reflect the values specified at product installation or configuration. For new virtual hosts, the default can be * to allow any value or no specification.

Data type String
Default *

We can also use the IP address or the long or short DNS name.

Port

Port where the Web server accepts client requests. Specify a port value in conjunction with the host name.

Port where the virtual host accepts Web client requests. The port number specified must be a unique in conjunction with the host name to avoid conflicts with other virtual hosts. The port number default is port 80, which is the default Web server port. We can assign another port number to use the internal HTTP transport capability of the appserver, or to use another port that we have designated as the Web server port. For example, we can create a new virtual host and assign port 9085 to that virtual host to serve application resources over the internal HTTP transport of the appserver that uses port 9085.

Data type Integer
Default 80





Related concepts

Virtual hosts

 

Related tasks

Set virtual hosts