Tag: directadmin

Apache, DirectAdmin

Updating Apache to the latest version

You can check the current version of apache by running /usr/sbin/httpd -v CustomBuild – current If you’re using custombuild (as most new boxes are), run the following cd /usr/local/directadmin/custombuild ./build update ./build apache ./build php n ./build rewrite_confs CustomApache – end-of-life If you are using customapache with the 1.3 version of apache to the most …

Apache, DirectAdmin

Installing an SSL certificate for your hostname using LetsEncrypt

As of DA 1.50.0, DirectAdmin have added a new feature that allows you to make use of LetsEncrypt, a tool offering free basic SSL certificates.There is a script written in such a manner that you can also setup SSL for your hostname and all services in one simple command for your hostname: your.server.comeg: cd /usr/local/directadmin/scripts …

DirectAdmin, Security

Setting up DA with an SSL certificate

You can switch DirectAdmin to use SSL instead of plain text. -> https instead of http on port 2222. Creating a Self-Signed Certificate If you do not have your own certificates, you’ll need to create your own: /usr/bin/openssl req -x509 -sha256 -newkey rsa:4096 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9000 -nodes chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pemchmod 400 /usr/local/directadmin/conf/cakey.pem …

CentOS, DirectAdmin

Login issues: Rejected session for user admin because IP (1.2.3.4) doesn’t match session file (5.6.7.8)

If you’re logged in, or having issues logging in, where you get booted back to the main login page, and your: shows this error but both IPs are yours, that’s likely due to some IP rotating which can happen with proxies, mobile devices, or when a client connection uses both IPv4 and IPv6 interchangeably. As …