By default, directadmin allows you to login to their control panel using If you want to use a LetsEncrypt SSL for secure admin login access to your directadmin control panel, simply do the following:

  1. Modify the Directadmin configuration file /usr/local/directadmin/conf/directadmin.conf
  2. Add the following line to the file, anywhere you would like:
  3. Save the file and restart directadmin

That’s it! You can now log into your directadmin control panel using an SSL secured port 2223. You can change this port to any other one if you would like of course, just make sure you open the port in your firewall if it’s closed