You need to do two things,
Create a new S3 bucket called www.<yourdomain>
Configure it to redirect web traffic to your original S3 bucket.
Then go back to your hosted zone entry, add a new A record within that domain with the name 'www'
Click yes for alias and point it to your new www S3 bucket. You should now have 2 A records - one pointing to the <your-domain> S3 bucket and one pointing to www.<your-domina> S3 bucket
Static Website S3 not resolving - DNS Provider is not AWSasked a year ago
Migrating a website to AWSasked a month ago
DNS_PROBE_FINISHED_NXDOMAIN with S3 static websiteAccepted Answerasked 2 years ago
Route 53 domain cname record without hosted zoneAccepted Answerasked a year ago
My website is not reachable with having correct DNS RecordsAccepted Answerasked 4 years ago
"www" address of websiteasked 3 years ago
S3 Bucket + Route 53 + CloudFrontAccepted Answerasked 4 years ago
Registered domain with AWS, configured Route 53 and S3. URL taking me to wrong website.asked 10 months ago
Static website hosted in S3 using Cloudfront and Route 53 is downAccepted Answerasked a year ago
My domain on Route 53 is not reaching my server created on AWS LightsailAccepted Answerasked 4 months ago