CentOS 7 is EOL.
So you would want to setup a server using AlmaLinux 8.
CWP has to have a Hostname, which is usually a sub-domain.
So if you TLD is domain.com, make a DNS A record for srv1.domain.com, and then you can create a user account for domain.com
This user account sets up the web, email, DNS etc. as CWP is a complete hosting solution.
If you just want to use email, you can. But the other items will still be there unused, since you wouldn't be pointing any A records to those services.
CWP doesn't use base hostname except for panel access.