DirectAdmin File Structure

Directory Structure

The organization of files into a hierarchy of folders is known as the directory structure. The directory structures is modeled after the hierarchical tree model. Let’s take a closer look at the DirectAdmin directory structure in detail.



/etc/httpd              – Apache

/etc/httpd/conf/         – Configuration files are stored in this directory

/etc/httpd/conf/ssl.crt/    – SSL certificates are stored here

/etc/httpd/conf/ssl.key/   – SSL certificate key stored here

/etc/httpd/conf/extra/    – Contains virtual hosts

/var/log/httpd/          – Apache log

/usr/local/etc/rc.d/httpd start/stop   – For Apache start or stop



/usr/local/directadmin              – DirectAdmin Installation directory

/usr/local/directadmin/scripts/        – Contains scripts

/var/log/directadmin/               – DirectAdmin log

/usr/local/directadmin/custombuilds   – Contains build scripts

/usr/local/directadmin/data/templates  – DirectAdmin templates



/var/spool/virtual/              – Mail directory

/etc/virtual                    – Email virtual

/etc/exim.conf                 – Configuration file

/var/log/exim/                 – Exim log

/etc/virtual/acrilicos.com         – Domain specific mail settings

/etc/virtual/acrilicos.com/aliases   – Email aliases

/etc/virtual/acrilicos.com/quota    – Email quota

/etc/virtual/acrilicos.com/passwd   – Email password

/usr/local/etc/rc.d/exim start/stop  – For Exim start or stop



/var/named/etc/namedb/named.conf  – Configuration file

/var/named                      – BIND directory

/etc/namedb/domain.db            – Database files

/usr/local/etc/rc.d/named start/stop   – For DNS start or stop



/usr/local/directadmin/conf/mysql.conf   – MySQL password stored here

/etc/my.cnf                         – Configuration file

/usr/local/mysql/data/                – Database path

/var/lib/mysql/                      – MySQL log

/usr/local/etc/rc.d/mysqld start/stop     – MySQL start or stop



/etc/proftpd.conf                 – FTP configuration file

/etc/proftpd.passwd               – FTP password

/etc/proftpd.vhosts.conf            – FTP virtual hosts

/var/log/proftpd/                  – FTP log

/usr/local/etc/rc.d/proftpd start/stop  – FTP start or stop



/etc/ssh/sshd_conf      – SSHD configuration file

/var/log/messages      – Log


If you need any further assistance please contact our support department.

Was this article helpful
About the Author