Simple: Create an S3 bucket
Sign in to the AWS console: https://console.aws.amazon.com/
In the AWS management console, click on services and under storage, click on S3
Click on the + create bucket button.
Give your bucket a name . You can use either a string or any DNS compliant name like example.com, subdomain.domain.com, or etc. on
Click on the create button on the bottom left corner.
Your all set! you have created a new S3 bucket to store objects without having to create or manage servers.
Now you can use your newly created S3 bucket to host a static site in an S3 Bucket with a custom domain.