How to use DNS/Hostnames or Other ways to resolve to a specific IP:Port
- by tomaszs
This is a Canonical Question about DNS/Hostnames resolution to IPs/Ports
Example 1
I'm running a web server on port 80 and another on port 87. I would like to use DNS so that www.example.com goes to port 87. How can I accomplish this using DNS only?
Example 2
I'm running a service on my server on a non-standard port. How can I get clients to…