Added support for virtual hosting