Having an SSL installed to your hostname is a better way and provides more security over your server.
Using one of our KVM VPS servers we are going to show you how to install an SSL for your hostname.
Prerequisites : FDQN
Your hostname should have an A record pointing to your server before you request for an SSL from LetsEncrypt
Once you have the A record ready then you need to login to your server using SSH (something like putty) and issue the following command.
/usr/local/directadmin/scripts/letsencrypt.sh request_single server.hostname.tld 4096
Make sure you change your server.hostname.tld with yours otherwise the request will fail.
Your server running DirectAdmin should be protected with SSL in a few seconds after that.
Your next step If you wish to have non-SSL requests to be redirected to your hostname SSL, just do
/usr/local/directadmin/directadmin set ssl_redirect_host server.hostname.tld
service directadmin restart