1- When I try to check “Use Let’s Encrypt to obtain SSL certificate” and save (To renew my ssl certificate) after unchecking it first and saving “ON SOME DOMAINS NOT ALL OF THEM”.
2- When I use the “Quick Install App” to install wordpress “ON SOME DOMAINS NOT ALL OF THEM”.
–When trying to do 1 || 2 I get “error apache2 restart failed”. And the web server fails.
–Nginx also fails.
RESTARTING THE WHOLE SERVER DOESN’T DO ANYTHING.
Troubleshooting steps:
Looking into these files:
/etc/apache2/conf.d/domains/affected_domain.conf AND /etc/apache2/conf.d/domains/affected_domain.ssl.conf (FOR APACHE2)
/etc/nginx/conf.d/domains/affected_domain.conf AND
/etc/nginx/conf.d/domains/affected_domain.ssl.conf (FOR NGINX)
I find out that the IP part before “:80” or “:443” or “:8443” is empty. So I need to add them manually every time after every edit to ssl certs or WordPress “WORDPRESS INSTALLATION FAILS BTW”.
Check the file /usr/local/hestia/data/users/YourUser/web.conf just in case there is an space on IP='10.30.10.10 ' fields. If the answer is yes, remove the space, save the file and rebuild the web domains for that user.