PDA

View Full Version : List of subdomains


CyberAlien
03-06-2004, 07:41 AM
Hello,

I can get list of domains of current user from /etc/virtual/domainowners
But is there any similar file that lists all subdomains for some user or for some domain?

DirectAdmin Support
03-06-2004, 10:33 AM
Hello,

/usr/local/directadmin/data/users/username/domains/domain.com.subdomains.. but you'd need "diradmin" or root access to view it. I've already added the subdomain list API to the versions system... that will probably be the easiest.

John

l0rdphi1
03-06-2004, 10:43 AM
Yeah, I requested this API the other day.. how ironic? ;)

Nevertheless, you can view it here (http://www.directadmin.com/features.php?id=330).

CyberAlien
03-06-2004, 11:24 AM
Thanks.

Will that API function require admin/reseller access or user can access it too? If not then can you please change level so user could list his own subdomains with that API.

wdv
03-06-2004, 12:39 PM
Maybe it's not the right topic to ask, but is there an overview of all the upcoming features? As just features.php gives me a error (and changing id by hand is not very handy ;)).

CyberAlien
03-06-2004, 12:53 PM
http://www.directadmin.com/versions.php?action=allversions

CyberAlien
03-07-2004, 03:54 PM
Originally posted by CyberAlien
Will that API function require admin/reseller access or user can access it too? If not then can you please change level so user could list his own subdomains with that API.

l0rdphi1
03-07-2004, 03:59 PM
They're "in the process of moving", so you may have to wait a bit yet for an answer. Not sure of any details.

DirectAdmin Support
03-07-2004, 09:17 PM
Added:
http://www.directadmin.com/features.php?id=330

It's for Users.. Admins/Resellers can just use the admin|user feature if they need the list.

John

CyberAlien
03-08-2004, 03:29 AM
Thanks a lot! :)