Hi *,
Interesting problem i've run into, that I couldn't find many definitive answers for. On our server we have 2 websites as seperate accounts, lets call them domain1.com and domain2.com. domain1.com set up a subdomain test.domain1.com, then set up a CNAME record on domain2.com for test.domain2.com to point to test.domain1.com.
This is all good and well done in cPanel, however we need the host header to be recognised on the test.domain1.com account. When i go to add test.domain2.com either as a parked or addon domain (with the same webroot as test.domain1.com), then it throws an error saying that test.domain2.com is on another account, which technically it is, but only as a CNAME record. Is this normal behaviour? What would be the steps required to achieve what I'm after? A http redirect is out of the question, as they client does not want the URI to change, when someone types in test.domain2.com, they want it to stay test.domain2.com not become test.domain1.com, hence the use of a CNAME.
All help is appreciated
Thanks,
Joe Goldman
Interesting problem i've run into, that I couldn't find many definitive answers for. On our server we have 2 websites as seperate accounts, lets call them domain1.com and domain2.com. domain1.com set up a subdomain test.domain1.com, then set up a CNAME record on domain2.com for test.domain2.com to point to test.domain1.com.
This is all good and well done in cPanel, however we need the host header to be recognised on the test.domain1.com account. When i go to add test.domain2.com either as a parked or addon domain (with the same webroot as test.domain1.com), then it throws an error saying that test.domain2.com is on another account, which technically it is, but only as a CNAME record. Is this normal behaviour? What would be the steps required to achieve what I'm after? A http redirect is out of the question, as they client does not want the URI to change, when someone types in test.domain2.com, they want it to stay test.domain2.com not become test.domain1.com, hence the use of a CNAME.
All help is appreciated
Thanks,
Joe Goldman