What is the browser response? Did you setup a Let's Encrypt certificate or a self-signed cert? Without doing so (and without settings ssl=1) you won't be able to make an https connection.
/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.pem chmod 400 /usr/local/directadmin/conf/cakey.pem cd /usr/local/directadmin ./directadmin set ssl 1 restart
If the hostname is not proxied via Cloudflare, there is a /config path by default for DirectAdmin (https://hostname/config redirects to port 2222). Also, you could edit this redirect how you'd like:It's just easier. Even better would be domain.com/panel or panel.domain.com