Skip to main content

How to register sub-domain in AWS Route 53

If you have already created a hosted zone then it's very easy to register a sub-domain in Route 53. If not, please go through my post about What is Route 53 and how to create Hosted Zone in AWS.

Continuing further - 

  1. Login to your AWS account and go to Route 53 service
  2. Choose Hosted zones option from the left navigation menu
  3. Click on the button Create hosted zone
  4. Enter the fully qualified sub-domain name.
    Here is the trick, append the word before your main domain to create a sub-domain. For Example, if your domain name is test-domain.com then your sub-domain would be <subdomain-name>.test-domain.com
  5. You can add a description in the description box. This is an optional field.
  6. Choose the zone type either hosted zone you creating is accessible publically or privately.
  7. You can add some tags and the last click on Create hosted zone button.


    Once hosted zone is created, you will see two records created by default. One with type SOA and another one NS.

    Name Server (also known as NS) is important. It holds few values for route traffic. These values must be added to the Internet domain registrar means from where you have purchased your domain i.e. GoDaddy, BogRock, Cloudflare, etc.

    Now create a record with type A. Record Type A is responsible for routing traffic to an IPv4 address and some AWS resources. Enter your <subdomain-name> (without dot(.)) in the record name field and enter the public IP address of your application in the value section. Keep other options default.


    At the last - Create an NS record in the main domain-hosted zone (for example test-domain.com) similar to the above one. Put NS value as the value of sub-domain NS and save.

    If all goes well, then your hosted zone is created and now domain redirection to your application should start working.

    If you would like to contribute, you can write an article and mail your article to droidamar007@gmail.com. You can see your article appearing on the main page and helping others.

Comments

Popular posts from this blog

app-policy

PRIVACY POLICY Last updated April 19, 2023 This privacy notice for Team CoderzDuniya ( " Company ," " we ," " us ," or " our " ), describes how and why we might collect, store, use, and/or share ( " process " ) your information when you use our services ( " Services " ), such as when you: Download and use our mobile application ( Revenue Calculator) , or any other application of ours that links to this privacy notice Engage with us in other related ways, including any sales, marketing, or events Questions or concerns?  Reading this privacy notice will help you understand your privacy rights and choices. If you do not agree with our policies and practices, please do not use our Services. If you still have any questions or concerns, please contact us at droidamar007@gmail.com . SUMMARY OF KEY POINTS This summary provides key points from our privacy notice, but you can find out more details about any of these t...

Java Socket Basics(Socket Programming in Java) Part-2(UDP)

Hi friends, We are going to discuss about UDP Socket Programming . In previous post  we discussed about the differences between TCP & UDP and the sample example of TCP Socket Programming. Below is the sample example of chat application using UDP  Socket Programming . UDP Sample :-  We are going to create an small example which contains two classes. UdpServer.java:-  This is a server class. Means this class will serve the purpose of socket connection. DatagramSocket is the java class and serve the purpose of Server and Client both. The overloaded constructor of DatagramSocket class matters. DatagramPacket is the java class which is responsible to transmit the data/packet over the network from server to client and vice-versa. UdpClient.java:-  This is client class. This serves the purpose of client which will communicate to server and send data to server and receive the data sent by server. UdpServer.java import java.net.DatagramPac...

Working with MPAndroidChart (how to create Bar Chart using MPAndroidChart)

Hi Friends, In this tutorial i am going to show, "How to create Bar Chart using MPAndroidChart". There is a lot of libraries for creating charts in android like AChartEngine, MpAndroidChart, AndroidPlot etc. Your first question may be, Why MPAndroidChart. So MpAndroidChart provides better animation functionality and easy to use in comparision. Using  MPAndroidChart library  we can draw a: ·          Simple Bar Chart ·          Grouped Bar Chart ·          Horizontal Bar Chart ·          Simple Line Chart ·          Line Chart with Cubic Lines ·          Grouped Line Chart ·          Combined Line and Bar Chart ·          Pie Chart ·...