Been playing around with Whonix 9 and came across this Onion Services - Whonix
typing in sudo nano /etc/tor/torrc and then the following lines at the bottom
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 10.152.152.11 :80
Also, nice article about torrents in whonix. I’d still recommend using a good VPN so you don’t kill the tor network