Question

Point domain name to specific IP:port

  • Posted November 9, 2020
  • DNS

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?

Subscribe
Share

Submit an 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