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 talentedank@gmail.com. You can see your article appearing on the main page and helping others.

Comments

Popular posts from this blog

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 ·          Scatter Chart ·          Candlestick Chart ·          Radar Chart Here we will create Simple Bar Chart with multiple color based on ranging. Ok We start with coding part now. First of all create your project in Android Studio and add gradle dependency for  MPAndroidChart library  into y

JavaFX WebView- Creating Browser Sample

Hi Friends, In this post, i am going to give an overview about JavaFX WebView . This is an embedded browser component which is based on WebKit . If allow you to use Css, JavaScript, HTML5 and more to customise your embedded browser. The embedded browser enables you to perform the following tasks in your JavaFX applications: Render HTML content from local and remote URLs Obtain Web history Execute JavaScript commands Perform upcalls from JavaScript to JavaFX Manage web pop-up windows Apply effects to the embedded browser  I am going to provide and explain you a sample example to create your embedded browser. This is a JavaFX sample example. if you want to take an introduction about JavaFX please visit my previous blog . I have use IntelliJ Idea IDE for this example. You can visit this link  to understand how to create JavaFX application. I am attaching the project structure image below- In this sample- we have two java class. First

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.DatagramPacket ; import java.net.Datag