vhosting example for defined resource types