In the AWS Console, log into Route 53 and navigate to Hosted zones.
Section I: Create a Record Set for the EC2 Instance
- Click on the Create Record Set button at the top of the page.
- In the Name field, add “www”.
- In the Value field, add the IP address of your EC2 instance. (Note that this is available on the Description tab when the EC2 instance is selected. The field is Public IP.)
- Click Create.
Section II: Create a Record Set as the Alias
- Click on the Create Record Set button at the top of the page.
- In the Name field, add “www”.
- Change the value of Alias to Yes.
- In the Alias Target field, set the value to the value from step 2 in Section I.
- Click Create.