Control Web Panel (CWP) Configuration File Locations


INTRODUCTION

Most common Control Web Panel (CWP) Configuration Files and Locations.

There are more specific configuration locations (e.g. PHP) that are not listed.

If you need these paths, please open a support ticket to our SysOp Team with the path or config file location you are looking for your server.


READ ME FIRST

This article is provided as a courtesy.
Installing, configuring, and troubleshooting third-party applications is outside the scope of basic support provided by Starburst Services.

We are not liable for any damages and/or data loss.


cwpsrv (Control Panel Webserver)

This is a web server for: CWP Admin Panel, CWP User Panel, phpMyAdmin, Roundcube
Configuration files/folders:

/usr/local/cwpsrv/conf/ 
/usr/local/cwpsrv/conf.d/

Restart command:

systemctl restart cwpsrv

cwp-phpfpm (PHP for cwpsrv)

PHP configuration files/folders:

/usr/local/cwp/php71/php.ini
/usr/local/cwp/php71/php.d/

Restart command:

systemctl restart cwp-phpfpm

CSF / LFD (ConfigServer Security and Firewall)

CSF configuration files/folders:

Main Configuration:

/etc/csf/csf.conf

Whitelist (Firewall Allow IPs):

/etc/csf/csf.allow

Blacklist / Deny List (Firewall Deny IPs):

/etc/csf/csf.deny

Ignore List:

/etc/csf/csf.pignore

Restart commands:

systemctl restart lfd
systemctl restart csf

Clear, Reload, and Restart all:

csf -ra

phpMyAdmin (Database Manager)

PHP server configuration:

/usr/local/cwp/php71/php.ini

Script location:

/usr/local/cwpsrv/var/services/pma/

Roundcube (WebMail)

PHP server configuration:

/usr/local/cwp/php71/php.ini

Script location:

/usr/local/cwpsrv/var/services/roundcube/

Pure-FTP (Main FTP server)

Configuration files:

/etc/pure-ftpd/

Restart command:

systemctl restart pure-ftpd

Apache (Default – Main Webserver)

Configuration files:

/usr/local/apache/conf/
/usr/local/apache/conf.d/

Restart command:

systemctl restart httpd

Nginx (Proxy Webserver)

Configuration files:

/etc/nginx/

Restart command:

systemctl restart nginx

Varnish (Cache Webserver)

Configuration files:

/etc/varnish/

Restart command:

systemctl restart varnish

Dovecot (POP3/IMAP)

Configuration files:

/etc/dovecot/

Restart command:

systemctl restart dovecot

Postfix (SMTP)

Configuration file:

/etc/postfix/main.cf

Restart command:

systemctl restart postfix

Amavis (E-mail Content Filter)

Configuration file:

/etc/amavisd/amavisd.conf

Restart command:

systemctl restart amavisd

Apache SpamAssassin (E-mail Spam Filtering)

Configuration file:

/usr/share/spamassassin

and

/etc/mail/spamassassin

Restart command:

systemctl restart spamassassin

MariaDB (Database Server)

Configuration files:

/etc/my.cnf

and in the folder

/etc/my.cnf.d/

** Note that MariaDB has most of the config in file /etc/my.cnf.d/server.cnf

Restart command:

systemctl restart mariadb

BIND (DNS Server)

Configuration files:

/etc/named.conf
/etc/named/
/var/named/

Restart command:

systemctl restart named

Thanks for learning with Starburst Services.

Learn more about our services


Did you found this Knowledge Base Article useful?

Please considering thanking our SysOp Team.


KB Article Created: 2024-07-25

people found this article helpful. What about you?