Point CloudFront to out site server using A record

0

We have a blog site hosted with Siteground, but we're facing issues using their CDN because we can't point NS (which is not possible since all our web apps are hosted on the same domain in AWS). Therefore, we're planning to use Cloudfront as our CDN, but we're unable to directly point the domain using the IP address (A record) from Cloudfront.

Keshan
질문됨 7달 전161회 조회
1개 답변
0

Hi Keshan! Amazon CloudFront doesn't support IPs as origins. Do I understand correctly that you have created an A Record in Amazon Route 53 and would like to use this as the origin for CloudFront? What is the error that you're seeing and when does it happen? Please provide us with some hints or screenshots.

AWS
Piotrek
답변함 7달 전
  • Hi Piotrek, That's correct. I tried to create an A record in Route 53, and it worked, But the issue is, When I checked the website, all the resources came from the old URL, not the URL we configured. Then I changed the Site URL to the Route 53 URL and saw "redirected you too many times." issue

  • We added old.domain.com as our site URL configured new.domain.com using Route 53 and pointed to old.domain.com. It worked but all the resources came from the old domain. Even Site links appear based on old URLs. So I changed the Site URL and Now we are getting the "redirected you too many times" error.

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

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

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

관련 콘텐츠