Hello there! I've followed the instructions for setting up SSL for the administration panel, munin and monit and everything for that works as expected. The issue I have is when I just try to visit that website without the special port or subdirectory, the connection fails. To clarify: https://sub.domain.com:8080/ - good cert https://sub.domain.com:8082/ - good cert https://sub.domain.com/ - bad cert, thinks its for domain2.com I've disabled the SSL and LE SSL options in the panel for that subdomain website and reenabled them to try to force a rebuild but when I visit the site, the resulting refusal error tells me that the certificate on sub.domain.com is for domain2.com; another site on the same server. This is the error I get when visiting the subdomain: Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for sub.domain.com. The certificate is only valid for the following names: discord.domain2.com, domain2.com Error code: SSL_ERROR_BAD_CERT_DOMAIN What's going on? What do I need to do to ensure that sub.domain.com has it's own certificate without breaking the other URL's using the certificate correctly? Thanks for your time!
Follow Let's Encrypt Error FAQ: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/ There is an item in Read Before for your case, the part with "Visiting domain B, the content of domain A is showing" https://www.howtoforge.com/community/threads/please-read-before-posting.58408/