www domain not working


I've created a S3 Static website hosting - purchased a domain and configured it to point to my CloudFront distribution. My domain is working with HTTPS/HTTP .mySite.com. however it does not when using www - I get a "Can't find server" blank page.

My Configuration is below:

S3 bucket mySite

CloudFront Distributions Alternate domain names mySite.com www.mySite.com Custom SSL certificate mySite.com

ACM Certificate = Verified Status
Domain CNAME entries: mySite.com www.mySite.com

R53 Hosted Zone mySite.com A/AA Records: mySite.com www.mySite.com NS Record: mySite.com

Enter image description here

2개 답변
수락된 답변

This was fixed with this solution. Removed the www A/AA records and created a CNAME record pointing to the mySite.com alias as shown.


Enter image description here

답변함 일 년 전

Both mySite.com and www.mySite.com need to be A (alias) records pointing to your CloudFront distribution in Route 53.

profile pictureAWS
답변함 일 년 전
profile picture
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠