Directory Structure of DirectAdmin Explained

About Control Panels

A web hosting control panel is a web-based interface that allows administrator to manage the websites easily, and it is also very helpful for customers to easily manage their server even without any technical knowledge. There are so many type of control panels are available, such as:

1) DirectAdmin

2) cPanel

3) Plesk

4) Webmin


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/         – Domain specific mail settings

/etc/virtual/   – Email aliases

/etc/virtual/    – Email quota

/etc/virtual/   – 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.