If you’ve managed to get Apache / Tomcat / PHP / Ruby set up working successfully you soon come up against a problem. Every time you create a new ‘site’ you have to get it working as a path relative to http://localhost. This can be a pain if you're working on multiple sites with different configurations. This article explains how to set up virtual hosting in Apache, allowing WinXP users to set up multiple test sites on their machines.