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 Answer
1
Accepted Answer

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
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions