PDA

View Full Version : subdomains


lesmak
05-13-2004, 02:01 PM
Hello,

Domain example.com is assigned for user A, would it possible from reseller account add subdomain some_other_account.example.com but without adding new entry in named.conf?

I used * A 1.2.3.4 in zone file of example.com so that there is no point of adding new entry into named.conf

thx

DirectAdmin Support
05-15-2004, 02:16 PM
Hello,

if sub.domain.com is in the named.conf, it won't both looking in the domain.com zone for the "sub" ip. It does this becuase it first checks to see if the exact match is in the named.conf. If not, then it hacks off the "sub." part and looks for "domain.com". If sub.domain.com gets added as a whole new domain in itself (DA doesn't know that it's only a subdomain), sub.domain.com will be added into the named.conf and it will have it's own zone and the domain.com zone will never be searched for "sub".

John