How to access the control panel on HTTPS

Medieval

Verified User
Joined
Sep 30, 2019
Messages
7
I must be missing something obvious here. I've followed the documentation at https://www.directadmin.com/installguide.html, then followed on to https://help.directadmin.com/item.php?id=629

I can't access DirectAdmin control panel anymore. https://your.hostname.com doesn't work, nor does https://your.hostname.com:2222, nor does http://ip.ip.ip.ip:2222.

Until I set ./directadmin set ssl 0 - I now have access on the IP only.

In /usr/local/directadmin/conf/directadmin.conf I have;

servername=your.hostname.com
ssl_redirect_host=your.hostname.com

/etc/hostname = your.hostname.com

Why is it so difficult to have the control panel on HTTPS?
 
I didn't see that, sorry. I used that and everything was working as is written there. Did you restart it after? You put the correct host name? The host name domain is resolve to the server IP?

Regards
George B.
 
Yes. I've checked everything. Since I posted this, I decided to try self-signed certificate -- this works. But I can't get the Let's Encrypt option working.
 
Back
Top