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 Respuesta
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
EXPERTO
Paul_L
respondido hace un año
  • 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!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas