CNAME rule being ignored

Posted by Ben on Server Fault See other posts from Server Fault or by Ben
Published on 2010-12-21T08:58:32Z Indexed on 2010/12/21 9:56 UTC
Read the original article Hit count: 390

Filed under:
|
|
|

On a server with Plesk installed I have added a CNAME rule pointing from one of the sites subdomains to an external website.

I have checked the named configuration for that domain name and it shows the CNAME however the sub domain just points to the default server page and ignores the CNAME rule. Named has been restarted and I've also run the rvmng reconfigure-vhost command.

I edited another server to test this, on cPanel, and it works fine.

The conf file for the domain:

; *** Ts file is automatically generated by Plesk ***
$TTL    86400

@       IN      SOA     ns.example.com. cf.example1.com. (
                    1292946742      ; Serial
                    10800   ; Refresh
                    3600    ; Retry
                    604800  ; Expire
                    10800 ) ; Minimum

example.com.             IN NS   ns.example.com.
ns.example.com.          IN A    xx.xxx.xxx.xx
example.com.             IN A    xx.xxx.xxx.xx
webmail.example.com.             IN A    xx.xxx.xxx.xx
mail.example.com.                IN A    xx.xxx.xxx.xx
beta.example.com.                IN A    xx.xxx.xxx.xx
ftp.example.com.                 IN CNAME        example.com.
www.example.com.                 IN CNAME        example.com.
login.example.com.               IN CNAME        socialize.gigya.com.
example.com.             IN MX  10 webmail.example.com.

You can see the CNAME rule in the file but it just gets ignored?

Thanks in advance for any help.

© Server Fault or respective owner

Related posts about plesk

Related posts about bind