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 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas