- Newest
- Most votes
- Most comments
Based on the error message you're seeing, there are several potential issues with your subdomain configuration:
-
The error "Safari can't find the server 'http'" suggests there's a URL formatting problem. It appears the browser is trying to access "https://http//example.info/index.html" which is malformed (notice the double protocol and missing colon).
-
For your www subdomain to work properly with CloudFront, you need to ensure:
- The www.example.info subdomain is added as an alternate domain name (CNAME) in your CloudFront distribution settings
- Your SSL/TLS certificate in AWS Certificate Manager covers both example.info and www.example.info
- You have a proper A record in Route 53 for www.example.info that points to your CloudFront distribution
- For the CloudFront endpoint access issue, verify that your distribution is properly configured with the correct origin (your S3 bucket).
To fix these issues:
- Check your CloudFront distribution settings to ensure www.example.info is listed as an alternate domain name
- Verify your Route 53 configuration has an A record for www.example.info set as an alias to your CloudFront distribution
- Ensure your SSL certificate covers both the root domain and www subdomain
- Check that your origin settings in CloudFront correctly point to your S3 bucket website endpoint
DNS changes can take time to propagate (24-48 hours in some cases), so if you've recently made changes, you might need to wait for them to take effect.
Sources
My site doesn't shows up when using the domain name | AWS re:Post
Route 53 subdomain not working with CloudFront | AWS re:Post
Requests can't be served when sending requests to cloudfront alternate domain name | AWS re:Post
answered 10 months ago
Hi,
It seems that you've simply mistyped your 2nd url: the colon i.e. : is missing in http//example.info/index.html. That's why you get an error message including http in https://http//example.info/index.html: http is interpreted as 1st name segment of the url instead of as protocol information.
Also check that you have a definition for www.example.com in your DNS server: it can for example be an alias on head DNS name example.com
Best,
Didier
Thank you very much for your answer.
There is a a definition for www.example.com in the DNS. :)
There is also the ownership of a domain such as FirstnameSurname.ro that works including www.FirstnameSurname.ro. That works flawlessly and was taken as a template...
Kind of confused where to look for the typo because the way it is entered into two different browsers seems to be fine. Could you please give some hints where to look for? Like into the definition of the Bucket or maybe CloudFront, or where else?
After thoroughly seeking information it was found out that on the www.mydomain.info bucket on the permissions tab on the Block public access (bucket settings) the public access was blocked. Simply unchecking the setting emerged into no more malformation and the site becoming visible.
Later Edit: later on seemingly the malformation emerged again... :)
Thank you all!
answered 10 months ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago

Thank you for this answer. Seemingly all checklist of fix these issues were checked and it seems that individually they seem fine.
Do not know where else to look for. Is there any other place to check for?