How to Register a Domain Name With AWS Route 53

What is AWS Route 53?

AWS Route 53 is a Domain Name System (DNS) service. It allows you to purchase, register, and route end users to your web applications or static web pages (S3 hosted pages).

Route 53 translates the registered custom domain name to the IP address or resources running on AWS, such as EC2 instances, elastic load balancers, or S3 buckets.

In this post you can see how to register a custom domain name and use it to route end users to a static web page hosted on Amazon S3.

Register a Domain Name

To register your custom domain name,

  1. Login to your AWS Console.
  2. Navigate to ServicesNetworking & Content DeliveryRoute 53.
    route53
  3. Navigate to Domain Registration and click the Register Domain button.
  4. Choose your custom domain name.

    NOTE: To use Route 53 to route to a static page on S3, make sure that the s3 bucket has the exact same name of your domain. For example, if you’re planning to register myawesomeapp.com, your S3 bucket name must be myawesomeapp.com, including the .com.

  5. If the domain name is available and you have a bucket created with the same name, you can proceed and click the Add to cart button and then click Continue.
  6. Enter your contact details and click Continue.
  7. Verify the information, and continue with the purchase.
    You receive the notification that your domain registration is being processed.
  8. Wait for an email confirmation of your domain registration. AWS says it can take up to three days, but it usually takes a couple of hours.

Configure your DNS

Once your domain is successfully registered, you can configure your DNS to route traffic to your site.

  1. In the Route 53 service page, navigate to Hosted zones on the left panel.
  2. Click the name of your domain to open it.
  3. Click the Create Record Set button to start configuring your service.
  4. In the Alias section, select Yes.
  5. In the Alias Target field, select the S3 bucket hosting your site.
  6. Click Create.
  7. Open a browser and enter your domain name.
    You get redirected to your S3 bucket containing your static site.

That’s it! You have successfully registered your domain.