If there was ever any doubt Medium was a terrible place to publish content, Medium’s decision to end support for custom domains is good evidence. Don’t be fooled by this from the help article:

If you already have a custom domain on Medium, nothing will change for you for the foreseeable future

If you have a custom domain on Medium, you better find an alternative now. The clock is ticking.