Subdomains for webmail and phpmyadmin

Is it possible to somehow create a subdomain webmail.mydomain.com to access the rainloop?

And likewise create a phpmyadmin.mydomain.com subdomain to access phpMyadmin? In this case, would the login and password be the same when creating the database?