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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ