I am hosting a static website using Amazon Route53 for DNS and S3 for html files. It is working fine.
Current Setup is:
example.com. A ALIAS s3-website-us-east-1.amazonaws.com. www.example.com. CNAME www.example.com.s3-website-us-east-1.amazonaws.com
(NOTE: example.com and www.example.com are S3 buckets. My HTML files reside in example.com bucket.)
Now i want to add a wildcard subdomain like this - this i what i tried:
*.example.com. CNAME www.example.com.s3-website-us-east-1.amazonaws.com
The idea is to have anything.example.com to resolve correctly to the website.
But this does not seem to be working.
So when i go to website: joker.example.com i see error message on browser:
Code: NoSuchBucket Message: The specified bucket does not exist BucketName: joker.example.com