routing is based on domain rather than type