Configure Custom Hostnames for Load Balancers
Configure a separate custom hostname for both the load balancer instances, created in your primary and secondary OCI regions.
To configure a hostname for a load balancer:
-
Choose a custom hostname 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 nameservers.
-
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.