In this post we will configure Oracle Cloud Infrastructure DNS feature to Map a Domain name. This is a required step to Map the Load Balancer IP Address to a domain name so that users can access your Application/Web Servers inside the cluster with a domain name in the browser.
Below are the pre requisites for setting up Domain Name and Load Balancer Mapping in OCI.
Below are the pre requisites for setting up Domain Name and Load Balancer Mapping in OCI.
- Existing Domain Name. If you do not have, you can buy it from any vendor e.g. godaddy,bigrock.. etc. In this post I will use my domain : rohanwalia.com
- Working Oracle Cloud Infrastructure Set Up - Two Web Instances in different Availability Domain with Load Balancer configured in Front.
- You can read about OCI Load Balancer
- Refer the sample Set Up using Load Balancer - OCI Load Balancer & Instances Set Up
- For this Example, we have Two Web Servers (Backend Servers) - Webserver1 & Webserver2 in two Availability domain's as Backend Set. Load Balancer is configured to spread load to Webserver1 & Webserver2 on Port 80. Listener is configured to listen http traffic on Load Balancer IP address on Port 80.
*** All IP Addresses and Name Server have been masked for security reasons.
Ok so we are good with the Set up. Let us configure OCI DNS Service to use Domain Name.
First, go to OCI DNS Service home page from OCI Account.