Subdomains with docker

hey guys,

want to install some containers on my docker server, but i have a question.

i have a domain, pointing on servers IP.

mydomain -> server IP

now i want to install some things like rocket chat, prestashop, some cms etc.

what is now the right way to point with sub domains on my container?

like -> rocket chat -> shop… and so on.

thanks in advance