Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use Amazon Route 53 with a Digital Ocean droplet?

I have a good understanding of DNS but this is my first time using Amazon for domain registration.

I registered a domain using Route 53 and changed the NS records to match the ones in the hosted zone file I created for the domain name. Then I created an A record pointing to the IP address of my droplet on Digital Ocean.

I'm sure I'm missing something, but do I need to set up DNS on Digital Ocean? Wouldn't that negate the benefits of using Route 53 for DNS?

I've been using Digital Ocean and a "traditional" domain name registrar for a long time now and never had a problem letting DO handle the DNS - using amazon as the registrar and Route53 as the DNS is throwing me off.

I followed Amazons instructions for setting up route 53 with a third-party registrar, but when I follow the same directions using them as a registrar, the domain name is not resolving. No response on ping.

When I try to set the name servers to digital ocean, it fails. Any help would be much appreciated.

like image 469
adbr Avatar asked Dec 07 '14 23:12

adbr


People also ask

How do I point my domain to digital ocean droplet?

What you can do is to change the domain nameservers to. Adding a domain you own to your DigitalOcean account lets you manage the domain's DNS records with the control panel and API. The other option will be just to change the domain's A record and point to the IP address of your droplet.

Which three main functions does Amazon Route 53 perform?

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. You can use Route 53 to perform three main functions in any combination: domain registration, DNS routing, and health checking. Your website needs a name, such as example.com.

Does Amazon Route 53 support NS records?

Does Amazon Route 53 support NS Records? Yes, it supports Name Service records.


1 Answers

In this case, AWS is acting both as your registrar and your DNS host. Your NS records should be set to those shown on the Route 53 Hosted Zone page. The NS record varies for each domain name, but it will be something like ns-384.awsdns-48.com.

You do not need to configure DNS in Digital Ocean, because Route 53 is acting as your DNS host.

You'll need to get the IP address of your DO droplet, and create a DNS record in Route 53. For example, you might want to create an A record for www.example.com which points to the IP of your droplet.

like image 179
Mike Ryan Avatar answered Sep 28 '22 12:09

Mike Ryan