configure with custom domain