Keywords: WordPress - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 0d0c22a2-cd19-ed55-180c-a0046c3b5abc
? Apache: Found possible issues ? Resources: Found possible issues https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
bndiagnostic failure reason: The documentation did not make any significant change
I hope you are well! Many thanks for your help.
I imported my WordPress from SiteGround to AWS Lightsail using the All-in-One WP Migration plugin.
My SiteGround WP was using HSTS activated through .htacess which might be the reason for my current issues.
The WP is running on two URLs www.dearreal.com for English and www.dearreal.fr for French.
While setting up let’s encrypt from my ssh client, I get an error message :
“Warning: The domain ‘domain-deleted-to-post-message’ resolves to a different IP address than the one detected for this machine, which is ‘22.214.171.124’. Please fix its DNS
entries or remove it.”
When looking up my IP from the same terminal screen using “host ‘domain-deleted-to-post-message’”, I get the correct IP 126.96.36.199.
I believe my issue is because .htaccess on my imported version was enforcing HSTS. Not sure how this translated in Bitnami because there is no .htaccess. This situation is flipping out. Let’s encrypt.
I obviously could be completely wrong!