Redirect a subdomain to ip with plesk

Hi All
I installed discourse with docker on Ubuntu server.
I configured my NAT to open a port and redirect it to local IP and port which discourse installed.
Then I created a sub domain with Plesk and redirect it to the NAT address.
When I type the subdmain in the address bar, it will change to the IP.
Can any one help me?