I’m having an issue. I have two domains in my server and I installed Let’s Encrypt SSL for both domains. First domain works fine without any issue at all. But the second domain redirects to the first domain.
Can someone help me with this because I have no idea where I screwed up things.
My domains are:
I ran this command to generate the certificates:
sudo certbot --manual -d "*.stackpartner.com" -d stackpartner.com --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges dns-01 certonly sudo certbot --manual -d "*.wpsnappy.com" -d wpsnappy.com --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges dns-01 certonly
It produced this output:
My web server is (include version):
Nginx - 1.15.5
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):