How to use DNS to redirect domain to specific port on my server
Posted
by
Tomaszs
on Server Fault
See other posts from Server Fault
or by Tomaszs
Published on 2009-10-14T13:12:40Z
Indexed on
2012/09/09
21:40 UTC
Read the original article
Hit count: 364
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?
Canonical Question: This question was originally asking about running IIS and Apache on the same server, but the same concepts can be applied to any server software receiving connections from clients. The Answers below describe the technical problems with using DNS to assign a port number for a client to connect.
© Server Fault or respective owner