DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

Categories

directadmin

12
If you try to build exim on a DirectAdmin server and it fails with error: 'EC_KEY' undeclared, here you can find a possible solution of the issue.
If emails on your Directadmin server stopped delivering to your users, and the error "550 Email blocked by combined.rbl.msrbl.net" is reported, here is what you should do.
We've prepared a simple script which makes updating Directadmin version from beta / stable channel easier. Upload it to your server and use it per your needs.
Did you renew a SSL/TLS cert and an old one is still showing up? And you think it's a Let's Encrypt strange renew problem? Added a domain but still see "Nginx is functioning normally"...
If you receive this alert: "ALERT: exim paniclog /var/log/exim/paniclog has non-zero size, mail system possibly broken" after you upgraded Directadmin version, here we will let you...
If Apache or nginx does not start after Let's Encrypt cert renewal, and you see an error "certificate routines: X509_check_private_key:key values mismatch)" with nginx, here is a...
I've got a Directadmin server with Exim+Dovecot+RoundCube. Is there a way to let users create autoresponder via webmail?
I've just received a New Message from Directadmin, entitled as "Backup Abort: A hard link was found under User username's path". And I've seen a list of files within /home/username/imap/...
Since the version 1.61.0 of DirectAdmin a jailed shell and jailed cron are supported. This can be achieved with a help of BubbleWrap the unprivileged sandboxing tool. On Linux servers
If directadmin with custombuild fail to build or update a service and the error "cannot run C compiled programs" is dropped, here we suggest one of the possible solutions.
You might consider configuring exim to exclude original message from bounce in order to reduce chances to get blacklisted by other mail servers. As they might think that you are spamming them.
To reduce a number of false alarms and email notifications from CSF/LFD on a Directadmin powered server we need to add some trusted services into an exception list which is stored in...
A version 3 of CSF/LFD messenger supports SSL certificates. And it can display a message to a blocked IP address to inform an user that they are blocked in the firewall over...
Should you need a custom version of NGINX or any other software on directadmin powered server with custombuild 2.x, here you can see a working solution.
Fixing an error which one might face with CustomBuild 2, when running secure_php: Backslash found where operator expected at -e line 1, near "s##disable_functions = show_source,...
A step-by-step How-To on the subject is inside. With that you'll learn how to configure da_exim and da_dovecot to use Sieve email filters, and how to configure roundcube to manage the rules.
Ability to encrypt backups from all levels will be available with a new release of Directadmin, and it can be already tested with a pre-release binary. Implemented to be GDPR compliant.
DirectAdmin supports an application programming interface (API), which can be used for integration of your products or other 3rd party software with the control panel. Here we list all the
Directadmin allows to run custom scripts before and after a certain action performed by the control panel. So called hooks, or hookable events are custom PRE and POST action scripts. Here...
There is a typo in DirectAdmin script /usr/local/directadmin/scripts/startips which breaks adding additional IPs on a network interface, and nginx fails to start as a result of it.
I received an email from DirectAdmin with a subject "Warning: The system load average is 32.73". What should I do?
Here you can find a way on how to force Let's Encrypt to use "DST Root CA X3" instead of "ISRG Root X1" when issuing SSL certificates.
If Directadmin fails to create users on a remote or locally installed MySQL 5.7+ with an error "Unable to add access host: Details Error executing query: Unknown column 'password' in...
If Directadmin fails to write customization into NGINX configs with an error "Unable to write customization" and details show "24: Too many open files" when checking its configuration....
I have set up dmarc on the server. I am receiving daily reports from Yahoo and Hotmail with no problem. But email reports from Gmail from address: noreply-dmarc-support@google.com are...
Q: Does OpenLiteSpeed support .htaccess and rewrite rules? Can OLS be used to run a WordPress site? A: Yes, OpenLiteSpeed (OLS) supports mod_rewrite rules in .htaccess file, but...
If after an account restoration or any other action you don't see a domain on a "Custom HTTPD Configurations" page in Directadmin, and you are still sure that domain exists at an user...
If you want to use Gmail/HotMail/OutLook/other external mail service for your domain which is hosted on a Directadmin server you should disable "Local Mail Server" option for it.
If Dovecot update/build with custombuild fails with an error: "sha1.h:80: error: static or type qualifiers in abstract declarator", here is a how to fix it.
If you have a custom installation of cURL with support of HTTP/2 and the recent version 7.54.0 fails to built with the error: implicit declaration of function...
Should you see any TLS/SSLrelated errors "tls_post_process_client_hello:no shared cipher" in Exim's logs the reason might be still the same. Check the details here
To switch Exim+Dovecot+Sieve to LMTP from LDA one need to apply some changes
Exim drops an error: Exim configuration error in line 929 of /etc/exim.conf: failed to open included configuration file /etc/exim.spamassassin.conf. Here is a possible solution.
File uploading in a Directadmin plugin is possible, and there is nothing difficult if to say in general. Let me show some basic moments with the help of which you can achieve the desired.
If PHP scripts running under an old version of the language fail to connect to SMTP server under Directadmin, and in logs can you see lines containing "TLS error on connection from...
Here you can find instructions on how to install GeoIP module for Apache on a Directadmin server.
I would like to install the skin elastic for Roundcube, but unfortunately I do not know how to install it. Can someone help me with that?
If you want to add nginx-upload-progress-module to NGINX in custombuild2, it will need to be compiled in. The module that needs to be compiled in will have an --add-module type flag which...
(Updated 2018-06-12) Directadmin since version 1.39 has a built-in brute force monitor, which scan your service logs for any brute force login attempts on your system (dovecot, exim,...
A final version of OpenSSL 3.0.0 is now available for downloading. And we can build NGINX against it. Here is a short how-to.
I want Directadmin to send emails from admin@domain.com instead of admin@hostname.domain.com. How can I do it?
It is possible to use directadmin without installing/using POP3/IMAP servers. It's Dovecot which adds support of POP3/IMAP on a Directadmin server. And here you can learn how to completely
How to create a CSV file of all users with domains on DirectAdmin? I want to make a report for "User;Contact Email;domain(s);Package;Reseller;" How can do that?
A sample on how to create a new file with a specified content from a PHP script using Directadmin API call to CMD_API_FILE_MANAGER.
The directive "disable_functions" allows to disable certain functions. It takes on a comma-delimited list of function names. DirectAdmin uses the directive for security purposes, and here...
Should you need to dump mysql proccess list with cron here you can find a nice script to do it. Please feel free to use it on your server, if default mysql slow queries logging is not...
I want my users to use the new skin in DirectAdmin. How do I enable Evolution skin for all of my users in the control panel?
As of today Keep-Alive is disabled in nginx configs when using it as a reverse proxy in front of Apache, both installed with Custombuild 2.0 on Directadmin server. Here you can learn...
We are glad to share a new great feature that appeared in Directadmin since 1.5 version that was released a day ago. With this you can install an absolutely free SSL certificate...
Delivery status notifications do not seem to work for us and I want to hide it in RoundCube interface. How can I do it?
Should you want to run PHP scripts in behalf of the script owner. Or you have issues with modifying uploaded via HTTP files in a FTP client or in Directadmin File Manager.  Probably...
A short guide on how to install mysqltuner on directadmin powered server. MySQLTuner-perl a script written in Perl that will assist you with your MySQL configuration and make...
If you want to install rspamd on CentOS 8 with DirectAdmin, here is a short guide on the matter.
I know DirectAdmin supports Rspamd spam filtering system. How to install it on a Linux server with the control panel?
Ever wondered on how to list all domains with their name servers? Need to transfer domains to a new server and want to check how do they resolve? OK, there is a solution. Check it now.
If you decided to use Modsecurity on your server with DirectAdmin, there is sometimes a need to disable the module for a particular domain (virtual host). And here I'm going to describe...
There are some ready tools to manage MySQL dumps in a console on Directadmin server. And here we'd like to say a couple of words about most useful of them.
I want to modify exim.conf, but it gets overwritten every time when I update it with DirectAdmin. What can I do to solve it?
If you want remove Exim version number on a Directadmin server, then here is a guide for you.
If previously disk quotas were disabled on a Directadmin server at the system level, i.e. partitions were mounted without quotas. And once you enabled disk quotas you need to ensure...
If you want to set individual settings for PHP on a server with Directadmin and Custombuild 2, then for php-fpm and php-fastcgi you can use the following instructions.
If you want to set roundcube as the default webmail client on a server with Directadmin here is a guide on how to achieve the desired.
If for any reason you want to uninstall proftpd and/or pureftpd in Directadmin and don't want to run any FTP server at all. Here is a guide on how to complete it.
Let's say you want to use a 3rd party or your own patch for Apache, Exim, etc before to compile a software by custombuild script on a Directadmin server and here is a way for you to go.
It was noticed that caching does not work in NGINX if to try and enable it on a Directadmin server when using NGINX+Apache scheme. Here you can learn why...
Running Nginx + Apache on a Directadmin server, you can still configure Nginx to proxy requests to your Node.JS or Python application for your domain. And here is how can you do it.
The mcrypt extension has been abandonware for some time already, and was also fairly complex to use. It has therefore been deprecated by PHP developers in favor of OpenSSL in PHP 7.1, and...
Installation of PECL extensions for PHP can be done an easy way. Learn here how to do it.
Should you need to install old and unsafe PHP 5.x on FreeBSD 12.x server with DirectAdmin here you can find a short guide on how to achieve it.
Here is a new way to install PHP imap in DirectAdmin. That's a native method without using third party solutions. Check it now.
The Custombuild script from DirectAdmin can be used to install a phalcon extension for PHP 7+.
Installation of PECL extensions on a server with Directadmin is rather simple, but at the same time many users are confused with it. Here is a guide on how to make it in a easy way.
I've got my site not working due to the expired SSL cert. Directadmin did not renew my cert and it's expired now. What to do?
Having 10-20-30... domains (and more) in ca.san_config is a challenge to get them verified at once. As it fails randomly with HTTP/500 error. Solved by giving a chance to re-try...
As of September 30, 2021 as planned, the DST Root CA X3 cross-sign has expired. And old devices including servers under CentOS 6 are reporting broken chain or failed peer when trying to...
Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments. It uses threat data
MariaDB dropped support for CentOS 6. There are no new rpm-packages for this OS version.
Question: I have installed Directadmin on CentOS 7 64 bit. Everything is fine except for MariaDB version which is too old 5.5.41 (2014-12-21), and I want to update it. But it seems it's...
On July 18th, 2016, a CGI application vulnerability, referred to as "HTTPoxy", was disclosed. An attacker can exploit vulnerable deployments by passing an HTTP Proxy header with their...
If any try to update MySQL 5.6.x on a Debian server with Directadmin fails, and you see that download of a archived file can not succeed due to the fact of the missing file. Here is a way...
Should you get an access denied error when trying to import a dump into MySQL via Directadmin or phpMyAdmin, saying that you need at least one of the SUPER privilege(s) for this operation,
At the moment of the publication DirectAdmin can install the following PHP extensions: gmp, ioncube, imagick, imap, opcache, phalcon, suhosin, xmlrpc, zend. The listed extensions can be...
Why is that a bad idea to use whitelist_domains and whitelist_senders on DirectAdmin servers? Check the article to learn details.
Since custombuild 2 gives us opportunity to have a reverse-proxy NGINX Apache on a server and that's quite easy to start using it, we need a small customization to get content cached with...
NGINX fails to start after an upgrade of DirectAdmin and the web-server with the error [emerg] unknown directive "|NGINX_REDIRECTS|". Here is a short guide on how to deal with it. 
I've got a "No input file specified" error in a browser when requesting a non-existing file from my site. I want my 404 error to be shown instead of it. How to fix?
Directadmin of the version 1.55.0 does not restart PHP-FPM after an user restoration if found domains with SSL certs.
Should you have a need to upgrade an operating system on your server with Directadmin or want to move to another release, and you don't have an access to directadmin control panel to...
If you still run a server with CentOS 5.x and want to install PHP 7.x on the server with Directadmin and build process interrupts with an error "undefined reference to isfinite", here you...
If PHP 7.1 fails to build on a Directadmin server with the error saying "libtool: link: `ext/gd/gd.lo' is not a valid libtool object" here you can find a possible solution, which worked...
Directadmin since the version 1.431 allows to have two versions of PHP and a every user on such a server can change a PHP version per domain.
Since directadmin version 1.453 there is a great feature available for plugins coders. Since now (01.07.2014) plugins have the ability to run as a specified User.
After an upgrade of ProFTPD to the version 1.3.8 one can see the error: cannot support both FTPS (TLSEngine on) and SFTP (SFTPEngine on) for the same host. Here is a...
Google's reCaptcha installed as a plugin for Roundcube is a good way to protect your server against brute-force attacks on a webmail. Here you can find a guide on how to enable it on...
12
About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition