Non www to www redirect issue

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

bndiagnostic ID: 86697f19-3d98-56d4-07f6-e06a2fdcc50e

bndiagnostic output:

? Apache: Found possible issues
? Connectivity: Found possible issues
? Resources: Found possible issues
? Processes: Found possible issues
? Php: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/administration/use-pagespeed/#disable-pagespeed
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/general/faq/administration/use-firewall/
https://docs.bitnami.com/general/apps/wordpress/configuration/configure-phpfpm-processes/

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

Description:
We are using AWS lightsail for hosting with Wordpress. Recently we have installed let’s encrypt SSL certificate. My site is https://www.coninfra.in/ and it’s working fine. But site is not opening with URL http://coninfra.in/ & https://coninfra.in/. I tried searching redirecting above URL to https:// but not able to get it done correctly.

Thanks in advance.

Hi @saumil.shah,

You also need to add an A record for the non www domain, currently the non www domain is not pointing to the IP:

https://www.whatsmydns.net/#A/coninfra.in

But the www domain is:

https://www.whatsmydns.net/#A/www.coninfra.in

Regards,
Michiel