一个IP一个端口对应多个域名:
NameVirtualHost XXX.XXX.XXX.XXX:80
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerAdmin www.aaa.com
ServerPath "/aaa"
DocumentRoot "/var/www/aaa"
ServerName www.aaa.com
ServerAlias www.aaa.com
</VirtualHost>
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerAdmin dba.aaa.com
ServerPath "/phpMyAdmin"
DocumentRoot "/var/www/phpMyAdmin"
ServerName dba.aaa.com
ServerAlias dba.aaa.com
</VirtualHost>