0

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.

1 Answer 1

2

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.

1
  • Can give give more information(link/tutorial) regarding the 2 possible solution that you stated? I've been looking but don't have any idea what kind of method related with it. Oct 3, 2012 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.