Warning
This content has been generated by machine translation. The translations are automated and have not undergone human review or validation.
11.1 Mapping with Domain Name
This is the process of setting up a domain name that has already been purchased. For testing freenom I used the free Domain Name (thekoguryo.ml) issued by the site.
In the previous process, I used Load Balancer to link with the Apache web server. We will map the domain name we have with the IP of the Load Balancer.
OCI DNS service settings
Open the navigation menu in the OCI console. Go to Networking > DNS Management > Zones.
Click Create Zone
Enter creation information
METHOD: Manual
ZONE NAME: Enter your domain name
ZONE TYPE: Primary
Click Create
Go to Resources » Records and you can see what was created. Records of NS type and SOA type are created inside Zone. NS is name server record, SOA is permission start record.
First, add a record so that the web server is connected to a specific address (www.thekoguryo.ml) instead of the IP of the Load Balancer.
Record Type: A - IPv4 Address
NAME: www
TTL: 300, click the lock on the right to unlock and enter the TTL value
RDATA MODE: Basic
ADDRESS: IP to be mapped, here, input the IP of the Load Balancer created earlier
Click Submit
Click Publish Change to reflect the changes
When the confirmation window appears, click Publish Change once more
Complete
Copy all name server addresses that are of type NS in the record.
Set on the domain name provider side
Now you need to set up the domain name on the site where you purchased it. The process below is for setting the freenom standard. Set up in a similar way on the site where you purchased it.
Access the freenom site and go to Services > My Domains.
Click [Manage Domain] to the right of the domain name to be used in My Domain
Select Management Tools > Nameservers and then select Use custom nameservers (enter below).
After entering the name server addresses that you copied earlier in OCI DNS Zone, click Change Nameservers
Test
Try accessing the domain name through a browser.
As shown in the figure, you can check that the connection is made through the domain name.
As an individual, this article was written with my personal time. There may be errors in the content of the article, and the opinions in the article are personal opinions.