Mobile app version of vmapp.org
Login or Join
Si4351233

: CNAME cross subdomain mapping problem I have the exact same problem as this but I don't understand the solution. I have 2 different domain name(with different hosting/provider) domain-one.com

@Si4351233

Posted in: #Cname #Subdomain

I have the exact same problem as this but I don't understand the solution.

I have 2 different domain name(with different hosting/provider) domain-one.com and domain-two.com which I want sub.domain-one.com to point to sub.domain-two.com using CNAME. All have been setup and propagate correctly but now when I go to sub.domain-one.com it goes to basic page of the server. If I go directly to sub.domain-two.com the page load correctly.

I've tried to add the subdomain using Addon Domains on cPanel but the problem persist.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ravi8258870

A CNAME record will only map the IP address associated with the target. Your other server is obviously shared hosting, or it does not properly listen for sub.domain2.com and therefore can't serve any content.

You could implement a reverse proxy, or otherwise make the domain-two.com listen for sub.domain-one.com.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme