I have four domains, which I have linked to my server with Bind. Currently, they all point to my default xampp htdocs directory. I would like to have 1 point to the htdocs directory and the rest point to alternate directories within the htdocs directory. I tried adding virtual hosts in the httpd.conf file, but nothing happens. Its like they aren't even there.
Format:
<VirtualHost *:*>
DocumentRoot /opt/lampp/htdocs/users/domain
ServerName domain.com
ServerAlias *.domain.com
</VirtualHost>
Please let me know what I am doing wrong, or if there is a better way to do it.
Thanks,
Joseph