Prepare for using custom domain