Connect CloudFront to a website hosted on an EC2 instance - AWS

0 votes
I am trying to connect my CloudFront distribution to the EC2 instance on which my website is hosted. But I am unable to connect. I end up with an error. How do I troubleshoot this?
Oct 16 in AWS by Hannah
• 16,220 points

edited Oct 16 by Hannah 40 views

1 answer to this question.

0 votes
Hi @hannah,

Have a look at the application/website needs of headers, cookies or query strings so that you can configure your CloudFront to provide all of these. There are high chances that your CloudFront distribution is not able to provide everything your website requires.

Let me know if this works!
answered Oct 16 by Tanmay

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to set up a SPF(Sender Policy Framework) for AWS EC2 instance?

Setting up a SPF record is pretty ...READ MORE

answered Aug 16, 2018 in AWS by Archana
• 4,090 points
242 views
0 votes
1 answer

Using pymongo to connect to MongoDB hosted on AWS

Yes, the drivers work independently of any ...READ MORE

answered Sep 14, 2018 in AWS by Priyaj
• 56,900 points
45 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

how to connect my ec2 instance to a registered domain?

Hard to troubleshoot on here- but I ...READ MORE

answered Sep 24, 2018 in AWS by Priyaj
• 56,900 points
43 views
+1 vote
1 answer