As of May 2022, Medium no longer supports setting up a custom domain for your profile page or publication.
Custom domains that are already connected will still redirect to your profile page or publication. However, it is no longer possible to connect a custom domain for the first time or to change it.
You can disconnect your custom domain at any time in your Settings. Please note that once you disconnect your domain, you will not be able to re-connect it.