This is the list of directadmin.conf values, as of November 16, 2009.
There may be newer defaults, or features not listed here.
Check the versions system
for a given variable for more info.
The format of this document will be the name and default value.
Note that if the value does not exist in the directadmin.conf, it will be the default intenal value within DirectAdmin.
Adding a value to the directadmin.conf would override the internal default.
You can always see what values are being used on your system by typing:
For any newer values, or values not listed here, you can always search the versions system
Variables with default values which are (null) should not be added to the directadmin.conf unless you plan on using them.
If you want to remove that variable, then completely remove it from the directadmin.conf.
Port Used for DirectAdmin to run on.
Allows DirectAdmin to run on 2 ports at the same time, where the port value specified in the ssl_port option will use SSL.
Basic support for IPv6
The hostname of your system used by DA. It should match the actual hostname of your system.
Must comply with these mail system rules
Values set at Admin Level -> Admin Settings -> ns1/ns2
Number of child processes spawned at DirectAdmin startup.
DirectAdmin uses the prefork method for preparing child processes.
Number of seconds a directadmin process is allowed to run before generating a timeout signal and aborting.
Note that some more time consuming processes use a multiplier on this value.
Number of minutes an inactive DirectAdmin session will remain logged in.
After that time, the User must authenticate again.
After every page load of DA, the counter resets to 0.
The maximum size, in bytes, that a POST can be. This is mainly used for file uploads but applies to all POSTs.
Do not set this value to a very small number, as it would block normal POSTs as well (User creation, etc), if it's too small.
Depreciated value for apache log size before rotation. Logs are rotated each tally because webalizer requires a closed log before processing.
Number of apache logs to store for Users in /home/user/domains/domain.com/logs
Max length a username can be. Max is 30. It is limited to max of 14 with MySQL 5.5/5.6 and MariaDB 5.5 because of the 16 character mysql database name limit and the username naming prefix.
Number of of login attempts to store
Option to disable the IP check in sessions. Only use if your IP rotates between requests.
Allow non-local IP addresses to login using the session key system
For systems where disk access needs to be kept to a minimum, enabling this option relies only on the system quotas. Stats will not be completely correct as a result.
Ratio for the soft-limit to hard-limit for quotas. Allow a grace period for Users to go over their quotas up to the hard-limit. After the grace period, they can only delete files until below soft-limit again.
Location of User data. You'll not likely want to be changing this unless you're doing something very creative with your file system.
Note there is a "userdata" variable in the ./directadmin c output, which is an alias to this setting.
"userdata" not a directadmin.conf option as is only there for backwards compatibility.
Ability to zip and unzip files in the filemanager.
To enable Awstats for DirectAdmin.
Webalizer is enabled by default. Rotation will disable the rotation of apache logs before running webalizer.
For use with the syslogd logging facility, which allows for more logging options including remote logs.
on/off for Multi Server Setup for dns clustering.
Number of retries by DA if the cluster sync fails.
Lets the Admin or User set a TTL value other than the default.
DA runs new proposed zones through a check and only saves if it passes.
Lets the Users use the _ character in their dns records.
Long records, like DKIM TXT records are broken into multiple shorter lines for cleaner viewing.
Ability to enable DKIM for domains (requires manual changes)
File used by CloudLinux for quick access to uid numbers and package names.
Same update times as for the show_all_users.cache. If enabled:
If you have dovecot, this will be set to 1.
Ability to shut off email quota reporting on the email accounts page to speed up loading.
Alternative to disabling pop usage is to generate a cache instead.
If you have Maildir, this option tells DA to remove all emails in the spambox older than this number of days. Now purges Trash folder too.
To speed up the backup process, skip the home.tar.gz file, which omits some email data, among other things.
To be selective with backup data, this will skip /home/user/domains for all Users.
You'd really only use this if you have other means, like rsync, for backing up that data.
Handy if you just want to restore the User will all of his settings, but without his web data.
Similar to skip_domains_in_backups, when this option is enabled, it will skip the folder:
from being in your backup.
Enabling this skip will only skip the email data itself (email messages), and does not skip the email accounts/passwords.
Enabling this option will exlucde databases from all backups.
This will skip everything, including DB settings, DB Users, and the sql data for the databases themselves.
Ability to hide or change the rules for when DA shows the sizes of databases.
Allows for DBs with many tables to not have it's usage counted on the display page.
Options shows domain pointers on the "List Users" and "Show All Users" page.
To force passwords set in DA for all areas to be stronger.
Option to prevent a User from creating a subdomain of a domain belonging to some other User.
To prevent ever reusing the same uid/gid again.
Debug option to be used with the dataskq to list processes from the '/bin/ps aux' output if a program isn't seen to be running by the dataskq (and likely gets restarted repeatedly).
Log directory used by DirectAdmin.
Depreciated. "logger" was the program used to split up log entries into different logs, used by apache in realtime.. which bogged down the system with thousands of logger programs (for each VH) hence it was dropped.
Option used to do reverse IP lookups in logs. Slows things down quite a bit.
Path for admin data related to the serverpath
. You're not likely going to want to change this.
Main path for all DirectAdmin data. Don't change unless you know what you're doing (you'd need a very good reason to do so)
Location where the tickets and messages for the internal messaging system live.
Location on disk where the directadmin license file lives.
Location on disk for all templates.
Location on disk for DA login sessions.
Values that are not permitted to be passed between pages via GET for the tokens.
There is a newline character in there as well, in the internal values. Can't add newline if you override it due to configfile limitations..
Path of the default skin to be used. Used for CMD_SKINS?reset=yes resets if your custom skin has gone bad.
Skin used for the demo.
Location where the skins are to be found.
Location for the fallback internal language files if other skins don't have them.
Default language for the system, also for the demos.
Turn on/off ssl for DA ('./directadmin c' output for this is lowercase 'ssl=0' FYI)
cipher for DA over ssl forcing which ssl protocol to use.
The (null) default value can only exist if the ssl_cipher value is not in the directadmin.conf, which means that if do not want any ssl ciphers, you must completely remove the ssl_cipher value from your directadmin.conf, or else an empty string of ciphers will be used which wouldn't work.
The caroot is for the ca root certificate used to prevent the ssl popup on your purchased ssl certificates.
See the SSL=0 setting above for more info.
The (null) value operates in the way way the ssl_cipher does, so don't add this variable unless you're going to use it.
Location of the task.queue file used for background tasks run by the dataskq. You'll probably never change this.
Similar to the task.queue file, but for data added to it by the "diradmin" user when root access can't be obtained (cronjobs mainly)
The value of the partition you want DA to use for user quotas.
If you have another partition you want DA to count, specify that partition here.
If you want to insert extra commands for tar to use when creating user backups.
The network device name that holds the licensed IP. Other common values: eth1, eth0:0, venet0:0, etc.
If you want DA to only listen on one IP address. Note it *only* listens on the IP you specify.. doesn't include 127.0.0.1 if you specify a public IP.
Ability to specify where to redirect a User who is connecting to https over http.
Force a browser to use a specific value when connecting.
Specified the apache version used for httpd.conf writing.
The only 2 valid values are 1.3 and 2.0. If you're using apache 2.2, you'd still use 2.0.
Location where the domains logs and bytes logs are stored.
Location of the main httpd.conf where DA will add the User httpd.conf "Include" lines.
With custombuild, this will be /etc/httpd/conf/extra/directadmin-vhosts.conf
Location of the apache pid file. Used to send an HUP right after rotation the apache logs to reopen them.
Mime.types file used to look up file extention types to include in http header replies.
Location of the ips.conf used by DA for adding baseline apache VirtualHosts for shared IPs.
The shared server certificate and key. Used for the server IP and shared IPs https connections.
A security permissions state where the group ownership of a home directory is set to this value, allowing only that group visible access to the folder, thus blocking other users.
If set to 1, sets the public_html to chmod 750, chown to username:apache.
This is a primitive version of the secure_access_group and is considered outdated.
Allows for cleaner, quicker, smoother apache restarts (but is in testing)
Default values for safemode and open_basedir.
Admin Level -> Php Safemode Config
Ability to change the default permissions and ownership of filemanager created files.
Path to frontpage binary. Don't change this unless you know what you're doing.
Path to the sshd_config. Will rarely be changed. Once case where you might change it is to set a plecibo file for DA.
Path to the proftpd.conf. I actually don't think that DA ever uses this...
Path to the proftpd.vhosts.conf, used for extra IP virtualhosts. (eg: owned IPs)
Main proftpd password list.
The character used after usernames and before the domain name.
Path to the named.conf (default varies per OS)
Path to the named db directory (default varies per OS)
The settings for the brute force login detection system.
Automated removal: http://www.directadmin.com/features.php?id=1013
Default nice value for User bacukps.
Include Reseller backup bandwidth in their usage.
Frequency a User is allowed to update his disk usage via the button.
Ability to hide the MS Outlook column.
Do recursive folder disk usage counting in file manager
If you're sharing an IP among many Resellers, hide the number of Users on that IP.
Give the User the ability to pick whatever skin he/she wants.
How often to check the partitions for high usage.
Option to suspend based on disk usage.
Used if you wish to block usage warning emails
Scripts called by DA to add/remove IPs to/from the nework device.
Path to the email data (account names)
Path to the email data for when mbox used (actual emails)
Ability to override DA's manual email counting vs using system qutoas (really only applies to mbox)
This was for a template change. It's not recommend you go back.
Ability to hide or change the webmail links and webmail button.
Ability to change URLs for the help button.
Path to the user/pass that DA will use for the connection to mysql.
Path used for cnf file which is given to the mysqldump script to hide user/passwords from the ps output.
If you want to name your hosting company in the message system emails, this lets you specify the "name" part of the "From" header.
Config file fo the "sysbk" script (Admin Level -> System Backup)
Where exim lives for the mail spool query calls in Admin Level -> Mail Queue Admin
When uploading backups, file will be uploaded between backup creation to lower total disk usage.
To give your Users ability to use the API to run scripts (potentially dangerous, use at your own risk)
Ability to override checks to allow a username that starts with a number. Not recommended for most OSs.
Ability to generate skin/template debug output.
Feature to let users reset their passwords without bugging the Admin.
Lets you run all_pre.sh and all_post.sh script on HTM files. Handy for creating your own scripted areas in DA that are not plugins.
Ability to change ~username to be ~username/domain.com, thus allowing use of all domains before they resolve.
Feature was disabled by default due to mass confusion and complaints, but can still be enabled if you want it.
Ability to shut off frontpage in the interface. It's disabled by default with custombuild.
FrontPage is discontinued. Do not use it.
Limit percentages for email warnings.
See "send_usage_message" (above) to disable these messages completely.
If you wish to not run the tally after you restore data, set to this to 0.
This will lower your cpu time, but make your usage stats out of sync until the next tally.
After a tally is run, apache is restarted. Set this to 0 if you don't want it to restart.
Push Account deletion to the background for large account sizes to prevent timeout in browser (megabytes).
Location for temporary data.
Location for backup data assembly.