Domain not working without "WWW"


Trying to host my static website but the site only loads without "www". Any reason why? I have A type for * pointing to cloudfront

asked 2 years ago1781 views
3 Answers

Have you added to the list of Alternate domains in CloudFront? Your DNS record for should be a CNAME pointing to the Cloudfront DNS name (

You can use a wildcard eg. * as the alternate domain name, but you must make sure that the SSL certificate configured in your CloudFront distribution is also valid for * - see documentation here:

answered 2 years ago

Could you show your HostedZone configuration?

You can check 3 places

  • Route 53 HostedZone
  • CloudTrail Alias
  • Certificate Manager

and verify if there is everything ok and proper domains/subdomains are configured.

profile picture
answered 2 years ago
  1. Please check if you have added your "www" domain in the list of Alternate domains in CloudFront configuration as Paul mentioned.
  2. And make sure the ACM SSL certificate you have configured in CloudFront should be valid for both www and root domain. If not create a new one with both domains and reconfigure the CloudFront.
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions