New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Apache does not restart after deleting an user (letsencrypt/subdomains)

Started by jdekgrange, August 26, 2016, 06:16:43 AM

Previous topic - Next topic

jdekgrange

Hi all,
First of all, this is my first post on this forum.
Thanks to all contributors in making Centos webpanel a very usefull software.

Suppose you want to delete an user which is configured with subdomains (configured with letsencrypt).

If you reload apache service, it will crash. "Document root not found"

Indeed, a file is loaded but it refers to the Document root deleted.

You will have to edit this file
/usr/local/apache/conf.d/vhosts-ssl-letsencrypt.conf

Then you manually delete all references to the user you deleted.

# vhost_start subdomain.domain.tld
[...]
# vhost_end subdomain.domain.tld

=> dont' forget to save you file  :P

Hop this helps,
Jerome