Virtual hosts

Your Apache installation currently serves at least and Move these to virtual host definitions by:

  1. Define two DNS aliases xy123 and manual for your virtual machine. Configure your client machine to use your (private) nameserver.


    On a Linux system this typically requires root privileges to alter the /etc/resolv.conf file.

  2. Supply two virtual host directives enabling and to serve your documents.


    Follow the Apache manual's description. With respect to access rights you'll need the usual <Directory "/..."> section. Read about the roles of /etc/apache2/conf-available and /etc/apache2/conf-enabled and the corresponding commands a2enconf and a2disconf.