I am trying to get my Mac to resolve abc.com to xyz.com.
Tried in /private/etc/hosts:
abc.com in CNAME xyz.com
Neither works. Anyone know how to do this?
Well, the hosts file is formatted as "IP_address hostname..." (as many hostnames as you need), so you could put the ip, followed by both abc.com and xyz.com. It's not designed to work as a local CNAME. It's a local resolver (think A record type action)...