Can you add more than one ip at a time in DA yet?

hescominsoon

New member
Joined
Aug 9, 2017
Messages
3
I would like to use Directadmin but having to manually enter in every ipv6 is a daunting chore as i have an existing hosting business. Has the ability to add a CIDR range been added yet? I do not see anything on the site about it.
 
Hello,

Write a script to create files in /usr/local/directadmin/data/admin/ips/ and populate /usr/local/directadmin/data/admin/ip.list

Reseller IPs:

- /usr/local/directadmin/data/users/<resellername>/ip.list

User IPs:

- /usr/local/directadmin/data/users/<username>/user_ip.list

Domains IPs:

- /usr/local/directadmin/data/users/<username>/domains/<domain>.ip_list


and then

Code:
cd /usr/local/directadmin/custombuild/
./build rewrite_confs

in order to update NGINX/Apache configs with new IPs.
 
Back
Top