how to create new subdomain?

M.a.T.a.N

New member
Joined
Mar 25, 2011
Messages
12
hey,
i want to do script in php that create me a new subdomain and check if the subdomain already exist.


how can i do that? thank!
 
You can try to do a nslookup sub.domain.com, it won't work if you got * in DNS zone for domain.com.

If you own domain.com you can prepare a list of its subs, update it with cron, and check with them existence of a subdomain.
 
And of course don't forget to check out the DirectAdmin API; search these forums.

Jeff
 
Back
Top