Creating a Load Balancer Virtual Hostname
Create a virtual hostname for a load balancer.
For prerequisite information, see Virtual Hostnames for Load Balancers.
-
Open the navigation menu, click Networking, and then click Load balancers. Click Load balancer. The Load balancers page appears.
-
Select the Compartment from the list. All load balancers in that compartment are listed in tabular form.
-
Select a State from the list to limit the load balancers displayed to that state.
-
Select the load balancer for which you want to create a virtual hostname. The load balancer's Details page appears.
-
Click Hostnames under Resources. The Hostnames list appears. All virtual hostnames are listed in tabular form.
-
Click Create hostname. The Create hostname dialog box appears.
-
Complete the following:
-
Name: Enter a friendly name for the hostname. The name must be unique, and can't be changed.
-
Hostname: Specify the virtual hostname. See Virtual Hostnames for Load Balancers for more information.
-
-
Click Create. The Work request submitted dialog box opens.
-
(optional) Click View all work requests to open the Work requests page and view the status of the work request.
-
Click Close.
-
Use the oci lb hostname create command and required parameters to create a virtual hostname for a load balancer:
oci lb hostname create --hostname hostname --name name --load-balancer-id load_balancer_id [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateHostname operation to create a virtual hostname for a load balancer.