My domain is: jonhogg.com
I ran this command: Requested LE certificate via Webmin dashboard for jonhogg.com
It produced this output: Claims to be successful, but site displays content of my other domain inthatmovie.com
My web server is (include version): nginx/1.10.3
The operating system my web server runs on is (include version): Ubuntu 16.04.6 LTS
My hosting provider, if applicable, is: Digital Ocean
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Webmin 1.900
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot): certbot 0.23.0
then check your webmin configuration. May happen because Webmin has created a new - wrong - vHost with the root / DocumentRoot of your other domain.
And the certificate of
https://jonhogg.com/ is wrong, it’s the certificate of your other domain.
Perhaps the existing other vHost has the new domain as new server_name. Or a new - wrong - vHost was created.
Thanks for the reply. I’ve just checked the nginx jonhogg.com.conf file and it specifies the root correctly.
server_name www.jonhogg.com *.jonhogg.com;
I’ve looked at the other points but everything looks clean for the other host inthatmovie
I don’t think that works - mixing a raw nginx with the webmin configuration.
If you use a server management system like webmin, you have to use it complete. These systems have their own rules.
as far as I can tell, when I make a config change in Webmin, it just updates the nginx confing file so I assume they’re one and the same.
I’m at a loss
Yes, that’s expected. So you have to find a solution in your Webmin, not in your raw nginx config files.
Your vHost configuration in your Webmin may be wrong.
Is there more info I can supply to someone to help me know where to look next?
- Ask in a Webmin forum
- Share a screenshot with your webmin settings
Perhaps you have some errors in your configuration. The problem is simple - a wrong vHost configuration.
Thanks Juergen I’ll post in a Webmin forum
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.