DEV Community

Saranya R
Saranya R

Posted on

Setup a DNS hosted zone in Route53 in AWS.

Step 1: Open Route 53

  • Log in to AWS Console
  • Search for Route 53
  • Click Hosted Zones

Step 2: Create a Hosted Zone

  • Click Create hosted zone
  • Enter: Domain name (e.g., MyWebsite.com)
  • Type: Public hosted zone Click Create

AWS will automatically create default records:
- NS (Name Server)
- SOA (Start of Authority)

Step 3: Update Name Servers
After creating the hosted zone:

  • Copy the NS records from Route 53
  • Go to domain registrar
  • Replace existing name servers with AWS name servers

This connects your domain to AWS

Step 4: Add DNS Records

  • Now you can map your domain to resources.
  • Example: Point domain to a server Click Create record Choose: Record type: A Value: Your server IP Save

Example: Connect to AWS services
EC2 → A record
Load Balancer → Alias record
S3 static website → Alias record

Step 5: Verify Setup

  • Wait for DNS propagation (few minutes to 48 hours)
  • Open your domain in a browser
  • It points to my resource

Top comments (0)