I need to redirect and subdomain to an custom forward address

hi. I need to redirect a subdomain like subdomain.xxx.com to an specific address by example: subdomain.xxx.com:8080/string/string

i not found how to do it, I really appreciate your help people.

thanks a lot.