How to setup custom domain for TCP connection?

I am running a Minecraft server that is bound to a LoclX subdomain that was automatically created with a TCP connection. But I want to use a custom domain I own minecraft2.mydomain.com but this system doesn’t seem to allow me a way to do that. What am I missing?