CategoryDirect Admin

DirectAdmin script starttips fails with error c: command not found

D

There is an error in /usr/local/directadmin/scripts/startips that breaks the script: The script defines: DIRECTADMIN_BIN=/usr/local/directadmin/directadmin But uses: ADDIP=`${DABIN} c | grep -m1 '^addip=' | cut -d= -f2` Which results in errors: ./startips: line 36: c: command not found./startips: line 62: 2a01:7c8:xxx:xx:xx:xx:0:1: command not found./startips: line 62: 37.xxx.xxx.115: command not...

NGINX errors. SSL Routines TLSv1 Alert Protocol Version. ssl alert number 70

N

Got gateway 502 error on AlmaLinux 8 server with nginx+apache. The logs were filled with lines like this: [error] 1387293#0: *28 SSL_do_handshake() failed (SSL: error:0A00042E:SSL routine::tlsv1 alert protocol version:SSL alert number 70) while doing handshake on SSL upstream, client: 2.3.4.5, server: web. example.com, request: “GET/HTTP/2.0”, upstream: “host: “web.example...

How to list domains with their nameservers on a DirectAdmin server

H

Have you ever wondered how to list all domains with their name servers? Need to transfer a domain to a new server and want to check how they resolve? Well, there is a solution. check it now. there is a simple script How to do all this, and more. Description: This is a script to list directadmin domains with a requested from DNS additional information. Usage: ./da_domains.sh <options>...

CSF/LFD Messenger v3 with DirectAdmin and Apache

C

Version 1 of CSF/LFD Messenger will give an error: “ERR_SSL_VERSION_OR_CIPHER_MISMATCH”. Thus if you need it to work with HTTPS then it is the right time to switch to version 3. Version 3 of the messenger supports SSL certificates. And it can display a message on the blocked IP address to inform the user that they are blocked in the firewall on HTTPS. And here's a guide on how to...

Install PHP imap on DirectAdmin server with CustomBuild

I

Here's a new way to install the PHP imap extension on a DirectAdmin server. This is a native method without using third-party solutions, which will work equally well on CentOS, AlmaLinux, CloudLinux, Debian and Ubuntu. Run as root in bash-console: cd /usr/local/directadmin/custombuild/ ./build update ./build set_php imap yes ./build php_imap Look for the key points you should control. First:...

ProFTPD cannot support both FTPS and SFTP for the same host

P

After upgrading ProFTPD to version 1.3.8 one may see the error: mod_sftp/1.1.1: Server 'ProFTPd': Cannot support both FTPS (TLSEngine on) and SFTP (SFTPEngine on) for the same host Here's a guide on how to fix this on a server with DirectAdmin. Important: The steps below will disable FTP on your server, forcing you to use SFTP with your FTP-credentials. Do not follow the steps if you...

How to patch exim.conf with DirectAdmin and custombuild

H

There are some parts in exim.conf that you may need to modify. And they cannot be changed in included files. DirectAdmin will rewrite your changes when updating Exim's configuration file. And here's how you can solve it. Let's try and modify for an example log_selector In /etc/exim.conf, We are going to add the following features: +incoming_interface +outgoing_interface +incoming_port...

I want Nginx to proxy requests to my application

I

Even after running Nginx + Apache on the Directadmin server, you can configure Nginx to proxy requests for your Node.JS or Python applications to your domain. And here's how you can do it. All commands given in the guide must be executed by the “root” superuser in the server console (i.e. ssh). Customize template Check the directory...

Enable GeoIP support in OpenLiteSpeed ​​on DirectAdmin Server

E

about us We are a team of professionals, and experts in installation, configuration and management of remote virtual and dedicated servers powered by Linux/Unix like OS with DirectAdmin. We support a diverse set of software, including web-servers Apache, Nginx; Internet Domain Name Server Bind, PowerDNS; Mail-server with POP3, IMAP and SMTP, FTP-server, etc. After years of working through the...