Hello, today I created a new website, let say is newSite.com. Logged via shell i used certbot to configure HTTPS. I used this method for dozen of websited and always worked. This time, unfortunately, this method failed. When I try to load the website (Opera, Chrome and Firefox). It loads another website (let say anothersite.com). I tryed to delete/renew the certificate on both newsite.com and anothersite.com but nothing happens. May I have help about this topic?
Most likely the vhost has no SSL enabled and therefore you get another site which is on the same IP. Why don't you use the LE function from ISPConfig to create the cert? Normally one would not create any LE certs on the shell on ISPConfig servers for any website. To debug the issue why SSL cannot be enabled for the site, follow these instructions: https://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/
One site note, never use certbot to reconfigure the vhost automatically when creating a cert on the shell, certbot is not able to modify the vhost config correctly for sites as it duplicates some code which needs to be unique.
Hello, thanks for your reply. So, selecting both SSL and Let's Encrypr SSL on "domain" page outputs this: Code: Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Cert not yet due for renewal Keeping the existing certificate finished. the /var/www/newsitecom/ssl/ directory is empty.
This does not seem to be ISPConfiug debug output. Please do what I suggested in #2. Enable debug log level, comment out the server.sh cronjob, then enable SSL and let's encrypt in the website and then run server.sh and post the output.
Sorry, maybe it's my fault. But I did exactly what asked in #2. Anyway, I solved by myself thanks. Solution: For each domain, even if they are already served by "certbot", i checked both SSL and Let's encrypt. I noticed that, sometimes, I've to repeat the whole operation two or three times. If you wish @till, I can debug more Thanks for your help.