Clearing a custom domain in an ArcGIS Hub does not always work successfully, and returns the error message, "There is already a site configured with the specified custom domain" when clearing a custom domain in one site and using the same custom domain in a second site.