Creating subdomains with AWS Route 53.
AWS provides the scalable, easy-to-use, and powerful DNS service Route 53. This service can be managed via the AWS Console or via API.
You may also enjoy: How to Use Your Own Domain to Access an AWS-Hosted Website
Here we are going to see how to create a subdomain dynamically and map it to an S3 bucket using Node.js.