Skip to main content
Answered

AWS Cloudfront best practices


Hi,

 

I created a cloudfront distribution that pointed to intercom.help for our company and that works fine, it's all set up with no issues. The problem arises when i went to review AWS Security Hub to review best practices and I noticed a critical issue. The title of the best practice is "CloudFront distributions should have a default root object configured". I reviewed the guide to set up a cloudfront distribution from Intercom and it has no mention of setting a root object. I wonder if anyone else has run into this and solved it?

 

I've tried a few potential root objects like /en since that's what it redirects to if i got to intercom.help/company but everything i've tried to add it just redirects to a 404 page.

 

Thanks

Best answer by Lisa B11

Hey @eoin m​ 👋

 

Have you had a look at this article from CloudFront side https://github.com/matt-alex-wong/Intercom-SSL-Setup-Guide/blob/main/README.md. and this https://medium.com/@getsee/make-your-intercom-help-center-https-with-a-custom-domain-2255cba66f50 those may help you out 🙌

 

If not, would you mind sending us a message through the Messenger with a screenshot of your settings and share with us where the issue is happening, our support team can look into this for you in more detail.

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+5
  • Employee
  • 250 replies
  • Answer
  • May 19, 2022

Hey @eoin m​ 👋

 

Have you had a look at this article from CloudFront side https://github.com/matt-alex-wong/Intercom-SSL-Setup-Guide/blob/main/README.md. and this https://medium.com/@getsee/make-your-intercom-help-center-https-with-a-custom-domain-2255cba66f50 those may help you out 🙌

 

If not, would you mind sending us a message through the Messenger with a screenshot of your settings and share with us where the issue is happening, our support team can look into this for you in more detail.


  • New Participant
  • 1 reply
  • August 15, 2022

I ran into this as well. I had to set the "Default root object" to just a forward slash to get it to work correctly and resolve the Security Hub alert.

 

image


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings