alias an ip and port

Will Yardley n at
Wed Feb 13 19:52:04 UTC 2002

In article <a4e94c$i10 at>, Jeff Kennedy wrote:

> Is it possible to alias a cname to an ip and port?

CNAME records point to hostnames, not to IP addresses.  There's no way
to direct traffic to a specific port based on name using the DNS (except
maybe with SRV records, which aren't widely implemented).

even if they were, i don't think they'd do exactly what you want.

you could look into name based virtual hosting - assign both servers to
the standard port and the same IP address, but use different names for

read the apache docs for more information on how to do that.


More information about the bind-users mailing list