For the other server, I currently do not have login access I will check & confirm.
For current server, I now understood. I initially thought my IP will also be automatically secured via letsencrypt.
Thank you for your prompt response. I really appreciate your help.
I have one last question- I am not able to access my website via alias i.e. for example.com my alias was www.example.com. Is their any change I need to make in my config file?
VirtualHost configuration for current server:
*:443 is a NameVirtualHost
default server example.com (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
port 443 namevhost example.com (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
alias www.example.com
port 443 namevhost example.ca.example.com (/etc/apache2/sites-enabled/example.ca.example.com-le-ssl.conf:2)
*:80 is a NameVirtualHost
default server example.ca.example.com (/etc/apache2/sites-enabled/example.ca.example.com.conf:1)
port 80 namevhost example.ca.example.com (/etc/apache2/sites-enabled/example.ca.example.com.conf:1)
port 80 namevhost example.com (/etc/apache2/sites-enabled/example.com.conf:1)
alias www.example.com
example.com and www.example.com are different domain names, you need a certificate for both and you need to tell your webserver to answer for both. (ServerAlias I think)
I didn't installed certificate for www.example.com. I thought it to be alias & only mentioned in the configuration file.
So what do you suggest, shall I expand the certificate for www.example.com & then it should work?