Search code examples
dnscname

DNS interaction between Cname and A Name


I need to resolve a subdomain members.domain.com by CName record. Then everything else needs to resolve to an IP address via A Name.

However, the A Name seems to take precedence. It sends *.domain.com to the IP address. How can I set it to send (everything-except-members).domain.com to that IP address using the A Name, and then utilize the CNAme for members.domain.com?


Solution

  • In your DNS Zone create a new CNAME record:

    Name/Host/Alias: members
    Record Type: CNAME
    Value/Answer/Destination: direction of host to point (example.wordpress.com)