I recently installed cloudlinux and converted a cpanel server to cloudlinux OS. Now if we access domain.tld/cpanel OR domain.tld/webmail, it shows 404. Note that it still opens through port numbers though.
Run:
cagefsctl --disable-cagefs
And check if after that, those urls works.
Also, please, post the output of following commands
rpm -q cagefs
rpm -qa | grep bsock
service proxyexecd status
grep redirect.cgi /etc/cagefs/proxy.commands
grep redirect.cgi /usr/local/cpanel/logs/error_log
grep -i cagefs /var/log/messages
Run:
cagefsctl --disable-cagefs
And check if after that, those urls works.
Also, please, post the output of following commands
rpm -q cagefs
rpm -qa | grep bsock
service proxyexecd status
grep redirect.cgi /etc/cagefs/proxy.commands
grep redirect.cgi /usr/local/cpanel/logs/error_log
grep -i cagefs /var/log/messages
You might want to submit a ticket so we could take a look & fix it. One of the reasons we have seen for such issue was hacked server where /usr/bin/id had been modified