Hello Rene,
Yo need to create wildCard subdomain into cPanel. *.mydomain.com
and all accounts on subdomains will work.
If you want to activate/deactivate users on subdomains you can do it in Admin Panel >> Basic Settings >> Accounts find line: Wildcard Subdomain Settings