added hostToDomainTable so domain -> to vhost index computation is only done once