Apache 2.2 Virtual Host on Ubuntu

view story

http://serverfault.com – I'm new to Linux world and I'm getting stuck with the Apache version 2.2 Virtual host configuration. In my local /var/www I have 2 sites (and the default localhost) in their respective directories: /var/www/importer /var/www/foostore Importer is an importer for a Opencart installed into daxstore directory, which I'm developing. I want two distinct sites working so I've copied the file /etc/apache2/sites-available/default into the same directory two times, renaming it into "importer" and "foostore" and then edited them to: <VirtualHost importer:80> ServerAdmin webmaster@localhost (HowTos)