Configure Custom Host Names for Load Balancers
Configure a separate custom host name for both the load balancer instances, created in your primary and secondary OCI regions.
To configure a host name for a load balancer:
-
Choose a custom host name for a load balancer instance and register it with a DNS provider.
-
After you've acquired a domain, create a DNS record for the load balancer instance. You can create and manage DNS records using an OCI DNS zone.
- Add an OCI DNS zone through the Oracle Cloud Infrastructure Console or the API. See Managing DNS Service Zones for details on creating an OCI DNS zone and adding a record to it.
-
After you've created a zone, update your domain to use the OCI DNS name servers.
-
Add a record in the OCI DNS zone for the corresponding load balancer instance. Enter the following details:
- Record Type: A – IPv4 Address.
- Name: Optionally, enter a subdomain.
- Address: Enter the IP address of the corresponding load balancer instance.