When ever you may need to create Virtual Servers for Apache2, you can use this script.
It will create the directory, the config file, and the symbolic link to the /etc/apache2/sites-available in the /etc/apache2/sites-enabled, so will do the job for you. The usage of the script is:
./virtual_site_creator [FQDN] FQDN = your fully qualified domain name for your virtual server.
i.e. if your virtual server to be created is
the command should be
after executing it, you just need to go to:
/var/www/linux.go2linux.org/ and create the index.html.
Related Archives Debian 4 (Etch) installation Screenshots