I have a repository bucket on amazon. In this repository I have a page, with only css, js and html, I start the application with the index.html.
The application url is available, and look like this :
example.s3-aws-region.amazonaws.com.
I want to redirect all subdomain of the url to the url application, for example if I go to the following url I want to redirect to the url of the app :
bucket.example.s3-aws-region.amazonaws.com
subdomain.example.s3-aws-region.amazonaws.com
subdomain_2.example.s3-aws-region.amazonaws.com
(Note that the domain is provided by amazon, not a personal domain)
So, I need to edit the dns and create a CNAME record. I tried creating a host zone, and then I created a CNAME record with the following value *.example.s3-aws-region.amazonaws.com
But it didn't work
How can I do it?