How to Setup your own Medium custom domain


Use reversed proxy to forward request from custom domain to Medium page


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.

A very simple code in python to run a reversed proxy


For the installation, please follow the guide on my repo

  • Setup application to Heroku
  • Customize Heroku domain
  • Add domain to Cloudflare if you need https


In my demo, I have setup my domain point to my Medium



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



I'm a developer working in cyber security. My regularly IDE is MS Word.