Managing Elastic Beanstalk Domain Names
Overview
The documentation at Your Elastic Beanstalk Environment's Domain Name (AWS Elastic Beanstalk Developer Guide) is straight forward and easy to follow.
Configuring Amazon Route 53
- Go to the AWS Route 53 management console > Hosted Zones
- Create Hosted Zone button
- Add domain name here.
- After saving the hosted zone, click on it to open up its properties.
- Click 'Create Record Set button
- Enter subdomain, e.g.
www - Alias: Yes
- Alias Target: Select an Elastic Beanstalk environment from the dropdown.
Configuring non-Amazon registrars
- In Amazon Route 53, navigate to the hosted zone's record sets.
- Find a list of name servers in the right column of the record with Type of "NS" ,
- Copy those name servers to the name server setting of the domain name with the 3rd-party registrar.
What should happen at this point is that any requests for the domain name that the registrar receives will be automatically forwarded to Amazon's name servers, which will then follow the rules defined by the hosted zones in Route 53.