HELLPPPPPPPP guys and girls. First off. IF your having a meh day. Your beautiful and the chances that your here are literally 1 in billions. Your special. So Live it up!
NOWWWWWWWW someone please help.
I cannot seem to get my domain to work for my lander. I use Amazon S3 and Cloudfront.
See when I host files on S3 and you get that initial URL from amazon. That works fine.
(also If anyone is reading this and wondering or curious about using amazon as a hosting service here are 2 threads that will get you started
https://stmforum.com/forum/showthrea...tcost-way-ever
And,
https://stmforum.com/forum/showthrea...iliates-Bother )
Now Back to me. When I set up cloudfront and I believe I do from reading the instrustions. Whenever I try To load my domain name It just says:
"This site can’t be reached
The webpage at http://example.com/ might be temporarily down or it may have moved permanently to a new web address.
ERR_NAME_RESOLUTION_FAILED
"
Now keep in mind I setup Route 53 to this to. but even before i set that up it still would not work.
My
1) I set up S3 and cloudfront but used the URL that amazon gave me to open a new camp on
2) But the Link that voluum gave me just went to a page that said this "<Error><Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>C9A33B902561A058</RequestId>
<HostId>
HdB4qfQwXkvrkMttqSM4fw0LLXeZEQAITacUFZJEHVgWILlO5S qukzpLHbFkQJHi4xa9cYwHDpI=
</HostId>
</Error>
3) This is the same thing that my domain name said when I searched it up before I set up route 53 on it.
4) I have the right click URL set into place.
Now does this mean i have 2 issues i have to resolve? Anyone have any troubles like this before and found away to get passed it?
Ive been asking alot of questions lately. Really out of my comfort zone. I do apologize If I tend to be a little bit of a annoying ass 
Thanks guys,
- Jeremiah
UPDATE:
I forgot to add The domain name to the CNAME from cloudfront. So I did that,


And I came up with this new domain name. But Even This domain name does not work!
It just says:
403 ERROR
The request could not be satisfied.
probably you could split the process into 3 parts (s3, cloudfront, route 53) and test it individually, you can isolate the problem and troubleshoot individually
* test you can access the site from s3 bucket
go to your s3 bucket -> properties and choose Static website hosting, there is an endpoint address there, eg
http://thisismybucketname.s3-website....amazonaws.com
check if you can see your site from this address
* test you can access the site from cloudfront distribution
got to clouldfront Distributions
try to access your site from distribution domain name:
ie. d********.cloudfront.net
if the above two steps working, then
* test you can access the site from your domain name
hope it helps
@edgekaos Hey thanks for the input!
I tested it from my S3 and it went to a 404 not found.
So this means That I have to change something in my S3 setting?
Because I went through caurmens guide pretty well and didnt seem to miss a step. Ill look at other videos and try and find the problem.
Thanks again!
- Jeremiah
Update: LOL i missed a step. At the end of that URL I need to put my landing page file name IE: randompost.s3-website-us-east-1.amazonaws.com/index.html
So now with that new knowledge in mind I will go onto cloudfront and Route 53 and hopefully its all smooth sailing from here!
Thanks for your help boss! Ill write up if i come across any problems I have been trying to fix for a while but cant find a way. Hate when people waste my time I do NOT want to waste others
- Jeremiah
Sorry for being a pain in the ass guys but Im not quite there yet and i NEED to get this figured out today.
Thank you @edgekaos for telling me to check those 2 links. They both now work. But my domain still does not work!
In cloudfront I set the alternate domain to my domain.
I setup Route 53 and created a hosted zone with my domain name as the name. I added the nameservers to my domain.
Then I created another CNAME record set with the "value" pointing to my new domain.
It's been about 15 hours or so. And my domain still does not work. I tried it with the lander name at the end IE "index.html"
But no cigar.
Anyone have a clue of what I did wrong?
Thanks guys.
- Jeremiah