Even kijken wat ik in mijn vHost configuratie heb geknald:
# You may use the command line option '-S' to verify your virtual host
# configuration.
<Directory /var/www>
Options FollowSymLinks IncludesNoExec
Order Deny,Allow
Allow from all
Options +Includes
</Directory>
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerName www.example.com
ServerAlias example.com
DocumentRoot /var/www/ex
Options MultiViews FollowSymLinks
Options MultiViews IncludesNoExec FollowSymLinks
Options +Includes
</VirtualHost>
Voor meer domeinnamen, maak je maar een copy/paste van "<VirtualHost *:80> tot aan </VirtualHost>
Wanneer je klaar bent, voer je je server met deze code:
httpd -S