Multiple things need to be done for this, the following steps are listed in the order of convenience, that is, things that take time are done first.
Note: If you don't need SSL, the AWS documentation shows you how you can do this quite simply: https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html