[CentOS] bind cname for corporate web

Stephen Harris lists at spuddy.org
Sun Jan 18 17:27:30 UTC 2009


On Sun, Jan 18, 2009 at 10:48:20PM +0530, Dhaval Thakar wrote:

> Now when I am trying to configure following my domain doesn't resolve.
> @  IN  CNAME www.abc.com.
> OR
> example.com.  IN  CNAME  www.abc.com.

> Kindly guide me to create example.com aliased to www.abc.com

You can not do this.  The CNAME would apply to the whole domain record,
which would include the SOA and anything else.  You have to simply add an
A record.
  @ IN A 1.2.3.4

-- 

rgds
Stephen



More information about the CentOS mailing list