move custom domains to dedicated document