This method works with any domain registrar.
When you use Route53 to host your website, you might notice
that not all Top-level domains are supported. For example, try
registering for the domain test.app
or
test.blog
, you will receive the below error messages :
This is what happened to me when I tried to register my blog's
domain name (mumen.blog
).
The first thing to do is find a domain registrar that supports your desired TLD; I registered mine through GoDaddy. However, I still want to use AWS CloudFront to get the best performance for my blog (you can read here blog to learn more about AWS CloudFront), and to do so, I had to find a way to connect that GoDaddy domain with AWS Route53.
It's simple: all we have to do is create a new hosted zone in AWS Route53 with the exact domain name. After creation, that hosted zone will have its own name servers in an NS record. We then change the name servers that GoDaddy uses to match the ones in our AWS Route53 Hosted Zone, and that's it!
NS
record in the hosted zone records.
That's it; you're now ready to utilize your domain through AWS Route53!
As you might have noticed, the trick in this topic is just to make your domain registrar use the name servers that AWS assigned to your hosted zone.