This page isn’t working - ERR_TOO_MANY_REDIRECTS

0

Hello Everyone,

I have a running Lightsail instance - WordPress, which is connected to a distribution.

The distribution is configured with a custom domain (example.com) from a third-party registrar with the NS pointing to R53. So the distribution is using AWS Lightsail SSL.

Now, the problem is that I have another app recently pointing to a subdomain (my.example.com) for the parent domain and hosted elsewhere.

So basically, I have another A-type record in my DNS pointing to an IPV4 of this app.

Now, I needed to make the subdomain (my.example.com) secure and so I used Let's Encrypt SSL to achieve this, remember the parent domain (example.com) is using AWS Lightsail SSL Certificate.

This has resulted in the parent domain (example.com) returning the error above.

How do I implement the two to work together with no errors?

1개 답변
1
수락된 답변

TOO_MANY_REDIRECTS is a configuration error in your WordPress instance.

If example.com is pointing to the IP of your LightSail instance and my.example.com is pointing to a different IPv4 - then traffic to my.example.com will go to the off-lightsail IP. SSL has nothing to do with it - debug your wordpress and web-server redirect config.

Likely you are trying to redirect from http to https, but are not checking to see if the connection is already on https, and therefore doing another redirect.

AWS
전문가
답변함 2달 전
profile picture
전문가
검토됨 한 달 전

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

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

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

관련 콘텐츠