AWS: Creating a Domain
Option 1: Registering a New Domain in Route 53
- Sign in to the AWS Management Console
- Navigate to the AWS management console.
- Search for and click on Route 53
- Register a Domain
- In the navigation pane, choose "Registered domains", then click "Register domain".
- Enter your desired domain name and select the top-level domain (e.g.,
.com
,.org
). - Click "Check" to verify availability.
-
Provide Contact Information Enter the required contact details for domain registration.
-
Configure Privacy Settings Choose whether to enable privacy protection for your domain's WHOIS information.
-
Review and Purchase Review your selections and complete the purchase process.
-
Wait for Domain Registration Completion Domain registration may take some time. You'll receive a confirmation email once it's complete.
Option 2: Importing an Existing Domain into Route 53
-
Create a Hosted Zone
- In the navigation pane, choose "Hosted zones", then click "Create hosted zone".
- Enter your domain name and select the type of zone to create:
- Public: determines how traffic is routed on the internet
- Private: determines how traffic is routed within the VPC
- Click "Create hosted zone".
-
Update Name Servers at Your Domain Hosting Site
- After creating the hosted zone, note the name servers listed in the NS (Name Server) record.
- Log in to your domain hosting website (where you purchased your domain).
- Replace the existing name servers with the ones provided by Route 53.
- Save the changes.
-
Wait for DNS Propagation DNS changes can take up to 48 hours to propagate worldwide.
Configuring DNS Records for Your Load Balancer
After setting up your domain in Route 53:
-
Identify Your Load Balancer's DNS Name Navigate to the EC2 service, then to "Load Balancers".
-
Create an Alias Record in Route 53
- Go to the Route 53 console and select your hosted zone.
- Click "Create Record".
- Choose your routing option based on the given descriptions, then click "Next".
- Enter the record name.
- Select "Alias to Application and Classic Load Balancer".
- Choose the region and select your load balancer from the list.
- Click "Define simple record", then "Create records".
-
Test Your Configuration After DNS propagation, navigate to your domain to verify it directs traffic to your deployed environment.