Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

172
Visualizações
Cloudfront Distribution: Deliver from custom domain

I am trying to load all my static resources for my website using the amazon cloudfront distribution. I have configured everything and I am able to load my files using the cloudfront domain URL. enter image description here

I have also added a SSL certificate with ACM for my site domains *.mydomain.com and verified and added the custom SSL configuration to the distribution. I have also added the Alternate Domain Names (CNAMEs) : test.mydomain.com to the distribution.

What I am trying to do is load my static files using the url https://test.mydomain.com/animate.css which I am currently not able to. But I am getting the same file using the cloudfront URL https://myclouddomain.cloudfront.net/animate.css

I have also tried this after renaming my bucket to test.mydomain.com and is still not working. Am I missing something here or is there any other configurations I need to do to load these files using my domain.

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

In your DNS registrar, make sure you have created a CNAME test.mydomain.com and pointed it to myclouddomain.cloudfront.net.

Elaborate on "it is not working", what's the error code/message?

  • DNS issue - point test.mydomain.com to myclouddomain.cloudfront.net in your domain registrar,
  • 400 Bad Request - make sure the CNAME is properly configured in CloudFront
  • 502 Bad Gateway - make sure the origin has an SSL certificate valid for:
    CloudFront CNAME if you are forwarding the Host Header,
    CloudFront Origin domain name if you are not forwarding the Host Header
about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda