hi there,
i had several problems, when i tried to add subdomain support via WHM and CPanel on my server.
I managed to solve em and track em down until to the final problem:
If i create a new subdomain by using CPanel, it says \"ndc: could not get key definition. check resolve.conf...\" BUT if i check the DNS file of that domain, the new subdomain has been added, but with a wrong IP address.
Heres an example:
Lets say i have mclord.com and want to add \"duncan\"-subdomain, then CPanel would do the following to \"duncan.com.db\" file:
duncan.com. 14400 IN NS ns1.provider.com.
duncan.com. 14400 IN NS ns2.provider.com.
duncan.com. 14400 IN A 111.222.333.444
duncan 14400 IN A 111.222.333.444
but shouldnt \"duncan\"-subdomain look like this?:
duncan 14400 IN A 111.222.333.xxx
where \"xxx\" is not equal to \"444\"!
...cause else it would point to the same IP address, as \"www.mclord.com\".
so long,
Duncan McLord
i had several problems, when i tried to add subdomain support via WHM and CPanel on my server.
I managed to solve em and track em down until to the final problem:
If i create a new subdomain by using CPanel, it says \"ndc: could not get key definition. check resolve.conf...\" BUT if i check the DNS file of that domain, the new subdomain has been added, but with a wrong IP address.
Heres an example:
Lets say i have mclord.com and want to add \"duncan\"-subdomain, then CPanel would do the following to \"duncan.com.db\" file:
duncan.com. 14400 IN NS ns1.provider.com.
duncan.com. 14400 IN NS ns2.provider.com.
duncan.com. 14400 IN A 111.222.333.444
duncan 14400 IN A 111.222.333.444
but shouldnt \"duncan\"-subdomain look like this?:
duncan 14400 IN A 111.222.333.xxx
where \"xxx\" is not equal to \"444\"!
...cause else it would point to the same IP address, as \"www.mclord.com\".
so long,
Duncan McLord