In order to start using the web server, you need to create a Configuration.
To create a new Configuration, perform the following tasks:
Click Configuration tab .
Click New button
The wizard guides you through the settings available for creating a Configuration. The following sections provide a description of the fields available in wizard pages:
This wizard page allows you to set the generic information for the new configuration
Set the following parameters in the wizard page:
Configuration Name — Add a new unique name for your configuration.
Server Name — Add a server name for the new configuration. It can be same as the configuration name.
Document Root — Enter a valid document root, wherein all the deployed web applications maintain their directories. The default value is ../docs You can enter the path of any valid directory on the server
64 Bit — Enable/Disable 64 bit support for the web server. Default is disable.
Server User — If the server is running on a UNIX based system, provide a valid user name for the server process. For example, root.
This wizard page allows you to set the HTTP listener properties for the new Configuration
Set the following parameters in the wizard page:
Port — Port number where the configuration binds to and listens for requests.
IP Address — IP address of the host machine. Type * for setting all available IP addresses.
This wizard page allows you to configure properties related to Java/CGI and SHTML.
Set the following parameters in the wizard page:
Java — Enabled. By default Java is enabled.Warning: Do not disable Java if you need to deploy Java based web applications using this configuration. Set the home for Java SE directory. The default value is the directory pointing to the bundled Java SE directory. You can select either the default Java SE directory or specify a new path.
CGI — None (Disables CGI support), Enable as File Type (Enables CGI support) and Directory (Specify the URI and path where the CGI documents will be stored).
SHTML — By default SHTML is disabled.
This wizard page allows you to create an instance for the new Configuration.
Set the following parameters in the wizard page:
Configuration — Name of the new Configuration.
Select Nodes — Select the nodes for creating an instance of the new configuration. Select nodes from the available list and click Add or Add All button to add the nodes.
Using CLI
For creating a configuration through CLI, execute the following command:
wadm> create-config --doc-root=[DOCROOT] --jdk-home=[JAVAHOME] --server-user=[SERVERUSER] [--document-root=serverdocroot] [--platform=32|64] --http-port=port --server-name=servername CONFIGNAME |
config1 is the name of the new configuration.
See CLI Reference, create-config(1).