Site A displays content of my other site, Site B

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

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

1 Like

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

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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.