Having any specific problems?
This is generally the setup I use on my servers if I'm using Apache, although I've moved to lighttpd at the moment.
Code: Select allNameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/srv/http/mydomain.com"
ServerName mydomain.com
ServerAlias www.mydomain.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/srv/http/otherdomain.com"
ServerName otherdomain.com
ServerAlias www.otherdomain.com
</VirtualHost>
Whereabouts are you placing your configuration options?