added virtual domain support