On Sunday 19 February 2006 22:26, Bruno S. Delbono wrote:
You mean a CNAME?
mycompany.com. IN CNAME www.mycompany.com.
or
@ IN CNAME www.
--
Just to clarify, the latter line in the example above (starting with @) would bomb, since the period at the end would terminate the name of the CNAME ref, and so the mycompany.com domain name would not be appended. You'd want either
@ IN CNAME www.mycompany.com.
// OR //
@ IN CNAME www
I prefer to set it the other way around, EG:
@ IN A 1.2.3.4 www IN CNAME @
and then set up apache with ServerAlias for the www.domain.com entry.
-Ben