Instead of using https://ipaddress:2222 you can install SSL certificate on https://hostname:2222 and use it to login

Below is steps to install SSL on hostname, let hostname is

cd /usr/local/directadmin/scripts
./ request_single 4096

which will also install the new cert/key/ca files in all respective global places for apache, dovecot, exim, ftp, and DirectAdmin.
NOTE The hostname value, eg: must match the “servername” value set in the directadmin.conf, or it will not be in hostname mode, but User domain mode instead.

You must then turn on SSL in DA and tell DA to use the carootcert, as well as force the hostname for SSL:

cd /usr/local/directadmin/conf
cd /usr/local/directadmin
./directadmin set SSL 1
./directadmin set carootcert /usr/local/directadmin/conf/carootcert.pem
./directadmin set force_hostname
./directadmin set ssl_redirect_host                            
service directadmin restart


Was this article helpful?


  1. BotLike

    Autoliker, Working Auto Liker, Photo Auto Liker, Autolike, ZFN Liker, autoliker, Increase Likes, Auto Like, Autolike International, Auto Liker, autolike, auto liker, Autoliker, auto like, Photo Liker, Status Liker, Status Auto Liker

Leave a Reply

Your email address will not be published. Required fields are marked *