Cloud front is not getting applied on my personal website hosted on awsbeanstalk

0

Hii i have my website up on aws beanstalk and i accesss it with my personal domain that points to endpoint of beanstalk. I wanted to use aws cloudfront. I used my domain url as origin domain and cname in cloudfront distribution. Even added the certificate using acm for https. But when i open my url in browser and check inspect element, couldn’t find any cloudfront domain in network out.

Thanks Aws beginner

1개 답변
0

If you have set up AWS CloudFront for your website hosted on AWS Elastic Beanstalk and are not seeing the CloudFront domain in the network requests when inspecting the page, there could be a few possible reasons for this:

  1. Caching: CloudFront is a content delivery network (CDN) that caches your content at edge locations worldwide. When you access your website, CloudFront serves the content from its cache, reducing latency and improving performance. If you have recently set up CloudFront or made changes, it is possible that the content is still being served from the cache. Clear your browser cache or try accessing the website from a different device or network to see if CloudFront is being used.
  2. DNS Propagation: Changes to DNS settings, such as pointing your domain to CloudFront, can take some time to propagate across the internet. It usually takes a few minutes to a few hours, depending on DNS provider settings and caching. During this propagation period, you may still see requests going directly to the Elastic Beanstalk endpoint. Be patient and allow some time for the DNS changes to fully propagate.
  3. Origin Configuration: Ensure that your CloudFront distribution is correctly configured to use your Elastic Beanstalk application as the origin. Double-check that you have entered the correct origin domain name in the CloudFront configuration, and that it matches the URL of your Elastic Beanstalk environment. Verify that the origin settings in CloudFront are properly configured and pointing to the correct resource.
  4. SSL Certificate: Confirm that you have correctly associated the SSL certificate from AWS Certificate Manager (ACM) with your CloudFront distribution. Make sure the certificate is issued for the domain name you are using, and that it is in the "Issued" state. Improper SSL certificate configuration can cause issues with HTTPS requests.
  5. Distribution Status: Check the status of your CloudFront distribution to ensure it is in the "Deployed" state. If the distribution is still being created or is disabled, it may not be serving content yet.

Let me know if this helps you.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠