403 in CloudFront when using CNAME from customer domain.

0

I have a client subdomain for example shop.bobstools.com a subdomain a client manages in their DNS that is a CNAME to my.domain.com which is a CNAME to the CloudFront URL. When I access my.domain.com I get my webpage but when I access via a client's subdomain I am met with 403? How can I stop this? Is CloudFront even the right solution?

1개 답변
2

Have you added the "client subdomain" as an alternate domain name in your CloudFront distribution? This is required, as is an SSL certificate for the "client subdomain" if you plan to support HTTPS traffic.

AWS
전문가
Paul_L
답변함 일 년 전
  • We don't control the clients sub domain and SSL cert so CloudFront will not allow us to add the name to our CDN

  • Then this is the expected behavior. If you do not own the domain, cannot make changes to DNS, and do not have the SSL certificate and private key, you cannot serve traffic for it!

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

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

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

관련 콘텐츠