Tried to install HTTPS with Direct admin

xvilo

Verified User
Joined
Jun 7, 2015
Messages
17
Hi,

I tried to install and configure https/ssl for the :2222 directadmin interface.
Luckily there was this guide: http://help.directadmin.com/item.php?id=15
and i followed the steps for Let Encrypt. Now everything is done but when I go to https://domain.com:2222 it redirects me to the server ip instead to the hostname (for which the certificate was issued.)

So I tried browsing to the host name and it redirected me again to the ip address of the server.

What went wrong? How do I fix this?!

Thanks,

Sem

P.S.
My hostname is https://thor.thisisd3.com:2222 <- that should work

EDIT:
The httpS link does work. But when I go to http://thor.thisisd3.com:2222 redirects to the ip....
 
Thanks SMtalk!

Next time when i'm ready the manuals, i'll check the footer notes ;)

I've added ssl_redirect and the force_redirects!
 
Back
Top