Using Fusion Middleware Control to Create Ports Using Fusion Middleware Control to Edit Ports

Managing Connectivity 6-5 This section describes how to create and edit virtual hosts using Fusion Middleware Control. ■ Using Fusion Middleware Control to Create Virtual Hosts ■ Using Fusion Middleware Control to Configure Virtual Hosts

6.3.1 Using Fusion Middleware Control to Create Virtual Hosts

To create a virtual Host using Fusion Middleware Control, do the following:

1. Navigate to the Oracle HTTP Server home page.

2. Select Administration from the Oracle HTTP Server menu.

3. Select Virtual Hosts from the Administration menu.

4. Click Create.

Caution: The Oracle HTTP Server administration proxy MBean virtual host and its configuration, defined in the admin.conf file, must not be edited with the WebLogic Scripting Tool WLST. See Also: For more information about virtual hosts, refer to the Apache documentation. 6-6 Oracle Fusion Middleware Administrators Guide for Oracle HTTP Server 5. Enter a name for the virtual host field and then choose whether to enter a new listen address or to use an existing listen address. ■ New listen address - use this option when you want to create a virtual host that maps to a specific hostname or IP address, for example mymachine.com:8080. This will create following type NameVirtualHost and VirtualHost directives: NameVirtualHost mymachine.com:8080 VirtualHost mymachine.com:8080 ■ Use existing listen address - use this option when you want to create a virtual host using an existing listen port and the one that maps to all IP addresses. This will create following type VirtualHost directive: VirtualHost :8080 6. Enter the remaining attributes for the new virtual host. 7. Use the Type field to select whether the virtual host will be IP-based or name-based.

8. Click OK.

9. Restart Oracle HTTP Server. See Section 4.1.4 .

6.3.2 Using Fusion Middleware Control to Configure Virtual Hosts

You can use the options on the Configure menu to specify Server, MIME, Log, mod_ perl, SSL, and mod_wl_ohs configuration for a selected virtual host. To configure a virtual host using Fusion Middleware Control, do the following:

1. Navigate to the Oracle HTTP Server home page.

2. Select Administration from the Oracle HTTP Server menu.

3. Select Virtual Hosts from the Administration menu.

4. Highlight an existing virtual host in the table.

5. Click Configure.

6. Select one of the following options from Configure menu to open its

corresponding configuration page. The values on these pages apply only to the virtual host. If the fields are blank, the virtual host uses the values configured at the server level.