DNS Setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
-- 
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux