How can i point subdomain to ip:port

That's not possible for web addresses. You will need to point them to the same port, and then use something like nginx on the server to send it to the correct place there.
Was this page helpful?