NAT by subdomain

I would like to know with is possible to redirect some connection for a specific IP by subdomain, I would like to know a way to redirect all conections in a specific sub domain and not just http or https , all connections that enter in my mikrotik i would like to redirect to a specific private IP by nat? some can help me? I’m a months trying how to discovery it.

When a new incoming connection is getting established, router only sees destination IP address (and port). If many FQDNs resolve to the same (public) address, initially there’s no way for router to distinguish between different FQDNs. That part comes later, when initial TCP connection is established (and by that time router forwarded/NATed connection further on).

What you want to do is a task for some web service … could be that internet (through router) facing server only forwards (proxies) requests towards other servers.