Check if we can use the URI base domain if the URL is invalid.