When you type
google.com in your browser, your computer needs to find the actual address of the server (something like 142.250.190.78 ). The system that does this lookup is called DNS, think of it as the internet’s phone book.Amazon Route 53 is AWS’s DNS service. It keeps the “phone book” for your website so people can reach it by name instead of a number.
(The name comes from port 53, which is the port DNS uses.)
What can you do with it?
- Buy a domain name: like
mywebsite.com
- Connect your domain to your app: point it to your server, website, or AWS service
- Check if your server is healthy: and send visitors elsewhere if it goes down
Words you should know
- Domain: your website’s name (
mywebsite.com)
- Hosted zone: a folder that holds all the DNS settings for one domain
- Record: a single rule inside that folder, such as “
mywebsite.comgoes to this server”
Common record types
Record | What it does |
|---|---|
A | Points a domain to an IP address |
CNAME | Points a domain to another domain name |
MX | Tells email where to go |
TXT | Used for verification (for example, proving you own the domain) |
Alias record: a special Route 53 record that points your domain straight to AWS services like CloudFront or a load balancer. It’s free to query and works for your main domain, which a CNAME can’t do.
Routing: choosing where visitors go
Route 53 can decide which server a visitor is sent to:
- Simple: everyone goes to the same place
- Weighted: send 80% to one server and 20% to another (good for testing new versions)
- Latency: send users to the closest, fastest server
- Failover: use a backup server if the main one is down
- Geolocation: send users to different servers based on their country
Setting up a basic website
- Buy a domain in Route 53 (or use one from another registrar).
- Create a hosted zone for it.
- Add a record that points your domain to your server or AWS service.
- Wait a few minutes for the change to spread across the internet.
Good to know
- Changes aren’t instant: DNS settings get cached, so updates can take a little while to show up.
- It only directs traffic: it points visitors to your server but doesn’t host your website itself.
In short
Route 53 is the signpost of your website: it tells visitors where to go. Start simple with one hosted zone and one record, and explore routing options as your project grows.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article