I looked around for several hours and couldn’t find a solution to my problem.
I want to redirect webmail.abc.com to abccom.xyz.com where webmail.abc.com resolves to my mitmproxy server and abccom.xyz.com resolves to a email client login page I created that replaces my hosting partners webmail page.
i.e. this is a server to server redirection one might use apache vhosts but I would like to use mitm instead.
Any help would be appreciated.