As you know, Medium have stopped support setup custom domain for Medium users for years. This topic will help you a trick to bypass the limit.
Very basically, we can use any reversed proxy to forward any request from custom domain to Medium page destination.
I’m a big fan of Heroku, so I prefer solution which can deploy to Heroku. So, I decided to write an Flask application to work as reversed proxy.
For the installation, please follow the guide on my repo https://github.com/cuongmx/MediumProxy
Basically, there 3 steps:
- Setup application to Heroku
- Customize Heroku domain
- Add domain to Cloudflare if you need https