Question

Point domain name to specific IP:port

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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