You said that the site was registered to the wrong domain, right? Let us try to fix that. Could you follow this guide to update the hostname of your instance?
In addition, I would like you to the following tool. For troubleshooting SSL issues, we have an SSL Checker: It will analyse your SSL configuration in Apache. It will show which certificate file is being used, the domain name it has, whether the key and certificate match and will also check the server certificate. Execute these commands inside your instance (connect through SSH and replace the PUT_YOUR_DOMAIN_HERE placeholder).
chmod +x ssl-checker-v1.0.0-linux-amd64
./ssl-checker-v1.0.0-linux-amd64 -hostname PUT_YOUR_DOMAIN_NAME_HERE
Please show us the results of executing the commands.
Javier J. Salmerón
Was my answer helpful? Click on