Sample server IP config file


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DirectAdmin

Sample server IP config fileLast Modified: Jan 10, 2012, 1:28 pm
1) If, for whatever reason, you need to manually rebuild the IP file for your server IP, then add the following code to this file:

/usr/local/directadmin/data/admin/ips/1.2.3.4

where 1.2.3.4 would be replaced with your server IP.

The contents of the file should be something like:

gateway=
netmask=255.255.255.0
ns=
reseller=
status=server
value=28

where the "value" would be your best guess at the number of Users on the IP.  The nightly tally will update this value for you, so it doesn't need to be perfect.

Also, if the IP is intented to be "owned", then the status will be "owned" instead of "server", and the value will be the name of the User that owns it.
Your licensed IP must always be the server IP.  A "shared" IP will have the same contents as the "server" IP, except it will have status=shared, and the reseller value will be set to the Reseller that controls the IP.

2) Also ensure this file is chown to "diradmin:diradmin" and chmod to 600.

3) Lastly, ensure that the file:

/usr/local/directadmin/data/admin/ip.list

contains the IP, one IP per line.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST