Too many redirect 302

Keywords: WordPress - Microsoft Azure - Technical issue - Secure Connections (SSL/HTTPS)

bndiagnostic ID: f54c3b93-cc11-9761-bb1d-450619f104f9

bndiagnostic output:

? Apache: Found possible issues
? Connectivity: Found possible issues

bndiagnostic failure reason: The suggested guides are not related with my issue

After enabling Azure Application gateway for single wordpress bitnami VM, webpage failing with “too many redirects -302”
A-record IP has been changed from Wordpress bitnami VM to Azure Application Gateway.

I have tried revoking previous certificate and tried renewing it but ends with Warning
Warning: The domain ‘’ resolves to a different IP
address than the one detected for this machine, which is ‘IP:XXXX’. Please
fix its DNS entries or remove it. For more info see:

I just accessed your site (utility.**** and the DNS resolved the domain properly. Please note that DNS changes take some time to be propagated across all servers.

The only issues I found when accessing your site is that I couldn’t access it using http (check that port 80 is open in the firewall) and the certificate was revoked (you will need to generate a new one)

There was an option on Application Gateway in azure through which we are now able to access the webpage. But now i m not able to use bncert-tool to generate certificate as its giving me warning saying your Domain name is pointing towards application gateway IP and not the Actual Server. Is there any work around for that to use HTTPS for the site?

You should use the lego client to generate the certificate manually.

You can follow this guide to configure the certificate in your instance

but remember to change the “lego” command with the one to validate your domain, not the one that we use in our guide. You will need to use the dns challenge and provide the required information for it to confirm the domain name is yours. If you have any questions regarding what parameters you need to use, please contact the lego support team to know more about that.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.