implement virtualhosts configuration, so that all mappings for a virtual host can be combined into one section