SSL certificate on server IP no acces to directadmin

manulm

Verified User
Joined
Oct 25, 2017
Messages
6
Hello,

I have a VPS with centOS and directadmin.
I tried installing a SSL with SNI & let'sencrypt.
I used to always get a new IP for every SSL, but now I didn't because of the SNI option.
I installed the SSL certificate, on a website on the VPS, but the website is running on the same IP as directadmin.
Now I cannot login to directadmin anymore. I can get to the login pannel, but when I try to actually login my browser gives met the message "secure connection failed"
I am sure it has someting to do with the SSL certificate, but I do not have the knowledge to find a solution, I have been googling for over an hour and it did not become any clearer.
Thanks for anyone who can give me some usefull information
 
Just restarted the server, before I could acces directadmin login panel from:
- ipadres:2222
- www.website.com:2222

now these 2 options are gone, and I cant find login panel anywere
 
You should login with browser adres wen LE cert on hostname https://my.hostname:2222/

Also you should do ofcourse enable https / ssl for hostname if not done already yet.

Search the web and forum if not knowing where to look. ( Letsecncrypt Hostname directadmin)

Clear cache cookies en session of browser, try other browser or PC
 
You should login with browser adres wen LE cert on hostname https://my.hostname:2222/

Also you should do ofcourse enable https / ssl for hostname if not done already yet.

Search the web and forum if not knowing where to look. ( Letsecncrypt Hostname directadmin)

Clear cache cookies en session of browser, try other browser or PC

Thank you for your quick reply!
SSL is enabled in for the hostname.
I also changed the directadmin.conf to allow SSL and added the folowwing to my directadmin.conf
ssl_redirect_host=host.name.com

so my VPS has 10 ip adresses, IP adres 1 was always used for directadmin (ipadres1:2222)
other websites without ssl were running on that ip aswell, for website with SSL I always used another IP.
but now SSL is configured for a website that runs on ip adres 1, if I remove the SSL certificate for ip adres 1 true SSH, will it be okay than?
 
You should login with browser adres wen LE cert on hostname https://my.hostname:2222/

Also you should do ofcourse enable https / ssl for hostname if not done already yet.

Search the web and forum if not knowing where to look. ( Letsecncrypt Hostname directadmin)

Clear cache cookies en session of browser, try other browser or PC

Thank you for your quick answer!
https://mydomain.com:2222 does not go anywere anymore...
also https://ipadres:2222 doesnt work anymore.

SSL is enabled for the domain, and in directadmin, I installed letsencrypt in the directadmin panel.

So basically the biggest problem is there is no url by wich I can access the directadmin panel
 
So basically the biggest problem is there is no url by wich I can access the directadmin panel

To fix that you can login via ssh, and run "nano /usr/local/directadmin/conf/directadmin.conf" to edit that file. And make a backup of that file first!
 
To fix that you can login via ssh, and run "nano /usr/local/directadmin/conf/directadmin.conf" to edit that file. And make a backup of that file first!

Barry,

thanks for the answer, but I know how to edit the file, what do you think I should edit exactly?
 
Back
Top