In order to add a SubDomain to CWP, It is possible from admin panel also.
I’m showing you to add sub domain to CWP from admin panel. We need to point A record to the Shared IP in CWP
login to CWP as root
Domains --> Add SubDomain( Enter domain name without www and http:// )
We need to provide some configuration details to add a subdomain.
Add SubDomain : You can enter subdomain here ( Enter subdomain name without www.)
Folder Path : Enter path to a folder in user homedir
If you want Auto SSL ,Tick Auto SSL . It will install Free SSL with Let’sencrypt. A record to the IP is very important here.SubDomain must be pointed to the server.