Directory Structure of DirectAdmin Explained

Last modified: August 1, 2020
You are here:
Estimated reading time: 1 min

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.

 

Apache

/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

 

DirectAdmin

/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

 

Mail

/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

 

Named(BIND)

/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

 

Database

/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

 

FTP

/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

 

SSHD

/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?
Dislike 0
Views: 17