The domain name does not need to have www at the start
== ENABLING CPANEL SUB-DOMAINS ==
The option is off by default, however you can accomplish the task of enabling cPanel style sub-domains by going to:
Virtualmin > System Settings > Virtualmin Configuration > Advanced Options
Look for the setting “Allow creation of sub-domains?”, and change to “Yes”.