Report this

What is the reason for this report?

Point domain name to specific IP:port

Posted on November 9, 2020

I want to point myunifi.me to 204.48.23.123:8443. I have used A names to point to IP address but how can I point it to that specific port?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @shickenbottom,

You can’t point your Domain to a specific port from your DNS. You’ll need to use a WebService like Apache or Nginx and do a proxy to a specific port.

For such cases, please tend to use Nginx more than Apache so I’ll provide you with an tutorial which can help you do so using Nginx. First here is a tutorial on how to install Nginx :

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04

Next, is the tutorial to turn Nginx into a WebService and a Proxy:

https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-web-server-and-reverse-proxy-for-apache-on-one-ubuntu-18-04-server

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.