Friday, August 3, 2018

Set up Oracle Cloud Infrastructure DNS to use Domain Name

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.

  • 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.
  • 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.




Click Create Zone.


Enter Method as Manual, Zone Name as your Domain Name and Zone Type as  Primary.



You can see below Zone added as primary Zone in your Zones List.


Now click on the Zone - rohanwalia.com and Drill down.

Click on Add Record.



Add A RECORD as below.

Add TTL time as per your requirement. Can set any for demo purpose.


You can add CNAME to resolve www.rohanwalia.com as below.



Now one last step on OCI DNS side is to Publish all the changes.

Click on Publish changes and confirm on the Pop Up.

We are all good on OCI DNS Side.

Now last step is to update Name Servers in Domain Hosting with Name Servers provided by OCI DNS for our Hosted Zone.

These Name Server's information is inside your Zone.




Copy all the four Name Servers and add it to your Domain Name Name Servers Settings inside your Domain Name Provider's -> Management -> Name Servers configuration.



Ok Done, We are all set.

Give some time for DNS changes to propagate.

Lets do a quick test. Open the url : www.rohanwalia.com


Doing a Refresh on the url will send the request to second instance in round robin fashion



We have mapped domain name to OCI Load Balancer and the request hits the OCI Load Balancer after which the LB passes the request to one of the Backend Web Servers.

30 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Article is informative because most of us ..as like me was not unaware with this. Its very helpful & show the way of proper processes . www.buy.ooo

    ReplyDelete
  3. Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information.
    Oracle Training in Delhi

    ReplyDelete
  4. creativity of writer is purely impressive. It has touched to the level of expertise with his writing. Everything is up to the mark. Written perfectly and I can use such information for my coming assignment.
    TeraStation 5400RN 8TB NAS

    ReplyDelete
  5. I found this blog after a long time which is really helpful to let understand different approaches. I am going to adopt these new point to my career and thankful for this help.
    eigen bedrijf starten opleiding

    ReplyDelete
  6. Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great
    will help you more:
    LetsCloud takes cloud computing to a higher level with the best resources for developers. Cloud Servers made for great developers.
    Cloud Server

    ReplyDelete
  7. The method of execution is really impressive of writers of this blog. This team does really work hard and brings new information to its readers. I am connected with this blog very long and I am really thankful.
    Empresa De Hospedagem Brasil

    ReplyDelete
  8. Really inspirational to hear someone pursuing their dreams and becoming successful instead of following the traditional path. I have read your article about This topic. I think it's good and impressed to know your service. Thanks for share this Information.medium opleiding

    ReplyDelete
  9. This blog is really helpful to deliver updated educational affairs over internet which is really appraisable. I found one successful example of this truth through this blog. I am going to use such information now.cursus eigen bedrijf starten

    ReplyDelete
  10. Enthusiastic beginning is very common in every sector when anyone enters into a new world. But it is very hard to keep such enthusiasm for a long time after huddles come out from invited sources. Read this blog and know more about this topic.
    IP Office Hosting

    ReplyDelete
  11. good article very useful information
    https://www.rainbowtraininginstitute.com/oracle-fusion-functional-training/oracle-fusion-scm-training/oracle-fusion-scm-online-training

    ReplyDelete
  12. This blog presented itself in a very easy and clear way. Owner of this blog found a very simple way to express its view but when you read this blog completely, you would get to know about how hard it could be to express such in a easy way.eigen bedrijf starten opleiding

    ReplyDelete
  13. Your Affiliate Money Making Machine is ready -

    Plus, getting it set up is as simple as 1 . 2 . 3!

    Here is how it all works...

    STEP 1. Tell the system which affiliate products you intend to promote
    STEP 2. Add PUSH BUTTON TRAFFIC (it takes JUST 2 minutes)
    STEP 3. Watch the system grow your list and sell your affiliate products all on it's own!

    Are you ready to make money ONLINE?

    You can test-drive the system for yourself risk free...

    ReplyDelete
  14. hi Rohan,

    I have a nginx server running on a oracle cloud vm instance. I can access it via ip. however, ideally like to have it accessible via a domain url.

    My domain is registered with godaddy.
    Plan is to have the primary domain (example.com) served by godaddy hosting, however a subdomain app.example.com is what needs to be connected to the nginx server.

    Is this possible? How do I do it? Not able to find the right information to setup this. Appreciate your help and instructions.

    Thanks,
    Ashok

    ReplyDelete
  15. Some 25 years ago, the headmistress of one of Australia's most exclusive private schools for girls retired. During one retirement interview, she suggested that 85% of the teachers she'd managed over her career should have chosen another profession.  AWS Online Training

    ReplyDelete
  16. This blog is really valuable to pass on upgraded enlightening endeavors over web which is genuinely examination. FreePBX Hosting

    ReplyDelete
  17. Detailed and descriptive articles written in this blog is really very helpful for me as well as for other who seeking such kind of knowledge. It is definitely going to become useful in coming future.eigen bedrijf starten opleiding

    ReplyDelete
  18. Thanks, that helped! Clear description!

    ReplyDelete
  19. That was actually a great blog. Your blog was consisted of such interesting and valid points that my knowledge is upgraded. Thanks for sharing. Here is a referred link same as yours oracle fusion scm training.

    ReplyDelete
  20. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here .Same as your blog i found another one Oracle Project Portfolio Management Cloud . Actually I was looking for the same information on internet for Oracle PPM and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.

    ReplyDelete
  21. last month he share is herbal medicine in some medical hospital and now he is well recognize as one of the best in West Africa, you don’t have to be sad any more or share your tears any more on this virus when the cure have already be find in 2013 if you want to get in touch with him in private contact him on his email dr.chalaherbalhome@mail.com Or you can visit his website on https://
    drchalaherbalhome.godaddysites.com or https://mywa.link/dr.chalaherbalhome

    ReplyDelete
  22. At this time advancements in is also affecting a point associated with argument. https://onohosting.com/

    ReplyDelete
  23. I loved as much as you will receive carried out right here. The sketch is attractive, your authored subject matter stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this increase.

    BBA Time Table 2021 - BBA Part 1 2 3 Ka Exam Schedule
    Banasthali Vidhyapith Time Table 2021
    Bilashpur University Time Table 2021
    Yogi Vemana University Time Table 2021

    ReplyDelete