To be able to fully control the routing of a DNS name use Route 53
Create a new Hosted Zone
In the Route 53 console click the Create Hosted Zone button
![](https://pinter.org/wp-content/uploads/2020/05/2020-05-30_22-28-14.png)
Create a new public Hosted Zone
![](https://pinter.org/wp-content/uploads/2020/05/2020-05-30_22-32-43.png)
Return to the domain registrars website and set the name servers to use the AWS Route 53 hosted zone’s name servers
![](https://pinter.org/wp-content/uploads/2020/05/2020-05-30_22-31-58.png)
Create a new record set for the
If HTTP is sufficient, you can route directly to the S3 bucket
![](https://pinter.org/wp-content/uploads/2020/05/2020-05-30_22-36-33.png)
For HTTPS connections create a CloudFront distribution for the S3 bucket, attach an SSL certificate to it and route to the CloudFront Distribution
![](https://pinter.org/wp-content/uploads/2020/05/2020-05-30_22-37-38.png)
To route to an ECS cluster, select the Application load balancer
![](https://pinter.org/wp-content/uploads/2020/05/2020-05-30_22-41-57.png)