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
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则