Please follow steps below specified….
- AWS services -> Route 53 -> Hosted zones.
- Click on “Create Hosted Zone” fill domain name with “Public hosted zone”.
- Copy NS records from Route 53.
- Login into domain registration like Godaddy -> Name servers -> Add NS records which are copied from Route 53.
- AWS services -> Route 53 -> Hosted zones.
- Select created hosted zone. -> Create Record Set -> Name with “www” and value with public IP which is founded in ec2 instance.
- It’s will take time to propagate wait some time and then check domain name.