The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cname subdomain to another subdomain

Discussion in 'General Discussion' started by noosalife, Nov 22, 2012.

  1. noosalife

    noosalife Member

    Joined:
    Jan 13, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I have been trying to get DNS configured to point a subdomain from one domain to another subdomain on a different domain name. The only issue is that the CNAME keeps pointing to the primary domain and not the subdomain where it should be going.

    This is the scenario;
    • cdn.xyz.com should display content from this subdomain xyz.newdomain.com
    • It is instead displaying content from newdomain.com (not the xyz sub domain)
    • cdn.xyz.com/page.htm displays content from newdomain.com/page.htm which I imagine is just missing some aspect in the DNS perhaps to get the pointing to the subdomain working correctly

    Other Background:
    • setup is between two different servers with different IP ranges although DNS cluster is on between all servers
    • the newdomain.com is set up with its own unique IP (which is on the A records for the subdomains, the subdomains work as expected/normal)
    • the DNS entry is correct (cdn CNAME xyz.newdomain.com.) ie the end period is included
    • a DNS lookup on the CNAME externally reports back as xyz.newdomain.com. as the record

    Does anyone know what DNS entries I am missing to get this working correctly ?

    Note: I do not want to just put a redirect between domains as I need the content of xyz.newdomain.com/content.html to be visible via the URL of cdn.xyz.com/content.html
     
Loading...

Share This Page