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

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

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

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