Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!