I'm new to both Cloudlinux and to Plesk, but if I understand correctly - once CloudLinux is installed, there are no /var/www/vhosts/system/XXXXXX.COM/conf/vhost.conf files ? Is that the case or should there be a vhost.conf file for each web site? (I don't see any so this is why I'm asking, Plesk documentation mentions vhost.conf files)
I am also asking because hosting limits aren't the only things that can go in a vhost.conf file (other items can be php settings, rewrite settings), so I'm a bit confused about not finding any vhost.conf files.
I see through LVE Manager we can limit processes, memory, etc per site. But what about other settings that would normally go in an Apache config (httpd.conf or vhost.conf)?
Thank you, so yes - there is a httpd.conf file at /var/www/vhosts/system/DOMAIN.COM/conf/httpd.conf, however the very first lines of this file state that this file is auto-generated and not to make changes to it:
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
(and there are settings after these commented lines like for Virtual Host IP, Server Name, Document Root, etc... it's a populated config file)
However when I look for /var/www/vhosts/system/DOMAIN.COM/conf/vhost.conf - this vhost.conf file doesn't exist, here is the directory structure:
So this is why I'm a bit lost here (httpd.conf file tells me to modify a file that doesn't exist). If we had to make some custom changes, i don't know if I should manually create this vhost.conf file, and if so should it be a 100% copy of httpd.conf (with changes)? Or only contain the modified "sections"?