Site A displays content of my other site, Site B

My domain is:
I ran this command: Requested LE certificate via Webmin dashboard for
It produced this output: Claims to be successful, but site displays content of my other domain
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

1 Like

Hi @JonH

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 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.

1 Like

Thanks for the reply. I’ve just checked the nginx file and it specifies the root correctly.

server {
	server_name *;
	root /home/jonhogg/public_html;

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.

1 Like

Hi again

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

1 Like

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.

1 Like

Is there more info I can supply to someone to help me know where to look next?

1 Like
  • 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.

1 Like

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.