separate service and domain from server