Score:0

AWS Lightsail + Bitnami WordPress - Changed DNS to Cloudfare - Giving too many redirects

cn flag

I have setup a WordPress website in AWS Lightsail (uses the Bitnami Wordpress). And I used the bncert-tool using the command sudo /opt/bitnami/bncert-tool to install the SSL.

I have forced www version to be used and and also the SSL was installed for the www and non-www domain using the above tool. DNS was managed within the Lightsail control panel's Domain & DNS section.

Then I decided to move to the Cloudfare to manage the DNS. So copied the DNS records to Cloudfare and update the nameserver of the domain name to point to the Cloudfare. And removed the DNS Zone I created in the Domain & DNS section of the Ligthsail instance.

But now whenever I try to access the domain, it shows an "ERR_TOO_MANY_REDIRECTS" error message. And the site is not accessible as it continue the redirections.

Could this be because of the SSL installed using bncert-tool ? Any solutions to resolve this?

Score:0
gp flag
Tim

It's difficult to say for sure, since you haven't shared your domain or the DNS entries you've made. I do know it's fiddly, I've had similar things happen in the past.

There's a Wordpress Plugin called "Cloudflare Flexible SSL" which may help, and specifically mentions a redirect loop. There's also another "CloudFlare" plugin which I don't think will help with this but is worth considering using.

There's a guide you could read through, I can't vouch for it, it was linked from the first plugin.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.