Minecraft server subdomain redirect

It cannot be done through InfinityFree’s default setup but it can be done if you use Cloudflare:

EDIT referring to Admin’s response below:
It totally skipped my mind that totalh.net was one of the offered free subdomains and thought it was your domain, you’ll need your own domain to do that.