# Redirect a subdomain to ip with plesk

**URL:** https://meta.discourse.org/t/redirect-a-subdomain-to-ip-with-plesk/64091
**Category:** Self-hosting
**Tags:** hosting
**Created:** [2017年六月7日 07:32 UTC](https://meta.discourse.org/t/redirect-a-subdomain-to-ip-with-plesk/64091 "2017-06-07T07:32:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mehdi\_Zehtaban](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mehdi_zehtaban/32/73418_2.png) [@Mehdi\_Zehtaban](https://meta.discourse.org/u/Mehdi_Zehtaban)
#### Post date: [2017年六月7日 07:32 UTC](https://meta.discourse.org/t/redirect-a-subdomain-to-ip-with-plesk/64091/1 "2017-06-07T07:32:57Z")

</div>

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?
