How to create another subdomain under same user account, e.g. sub.example.com?
Subdomain management under Virtualmin is very simple: what you need to do is creating a "Sub-server" by accessing "example.com -> Create Virtual Server -> Sub-server" with:
- Domain name: sub.example.com
- Parent server: example.com (example)
Therefore another complete set of virtual hosting skeleton will be created on-the-fly under /home/example/domains/sub.example.com, including MySQL database with name example_sub, plus corresponding /home/example/domains/sub.example.com/public_html:

How to create an alias for existing domain, e.g. alias.example.com for example.com?
This would be especially useful for Drupal multi-site installation, so you can handle and manage numbers of alias by using Virtualmin handy UI. Go to "example.com -> Create Virtual Server -> Alias of example.com" and configure as below:
- Domain name: alias.example.com
- Real server: example.com
Ok that's it, really simple isn't it ;-)
