Configure a Common Custom Endpoint
Configure a common custom endpoint for your load balancer instances.
A common custom endpoint ensures that applications and users can access File Server with the same URL regardless of which instance is active in the background.
To configure a common custom endpoint:
-
Choose a parent custom endpoint for your load balancers and register it with a DNS provider.
-
After you've acquired a domain, create a DNS record with the load balancer instance in the primary OCI region as the target.
-
Add an OCI DNS zone through the Oracle Cloud Infrastructure Console or the API.
-
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 load balancer instance in the primary OCI region. Enter the following details:
- Record Type: CNAME.
- Name: Optionally, enter a subdomain.
- Target: Enter the custom hostname of the load balancer instance in the primary OCI region.
-
-
During a failover, update the CNAME record with the custom hostname of the load balancer instance in the secondary OCI region.
Note:
- Using a separate custom hostname for each load balancer makes it easier to identify which load balancer is being used by the final custom endpoint. However, if you do not want to create parent-child custom hostnames for load balancers, you can create one custom hostname and add a DNS A-Record for the load balancer instance in the primary OCI region initially. During a failover, you can update the A-Record with the IP address of the load balancer instance in the secondary OCI region.
- You can also create and manage DNS records for your DR setup at a DNS provider of your choice.