Adding space to a domain which is only in DNS

calimero1505

Verified User
Joined
Jan 4, 2004
Messages
79
Hi,

How can we add an account to a domain which is allready in DNS.
The domain is allready in DNS because it is used for the nameservers for the other domains on that server.

Now we want put a website on that domain, but we cannot recreate it because of the namserver function. How can we do this?
 
You'll have to do the following; it'll take only a moment but you'll probably want to do it at a time when little (if any) traffic is expected at the domain.

1) as the root user, in a shell, rename (mv) the zone file (probably in or linked from /var/named) to something else.

2) create the account in DirectAdmin through the control panel.

3) again as the root user, in a shell, rename (mv) the zone file back to what it was; this will overwrite the new one set up by DirectAdmin

4) again as the root user, in a shell, run this command:
Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
that last command will update the serial numbers in all the zone files; it's only necessary for the specific domain you added, but this is the easiest way to do it and won't hurt anything.

Jeff
 
Back
Top