DirectAdmin IP/URL accidentally changed

123alec

New member
Joined
Jul 20, 2022
Messages
3
Hello,

First of all, sorry if this is the wrong section.

I seem to have changed a configuration somewhere, which has affected the URL I used to access DirectAdmin.
Usually I would enter my IP, appended with 2222, so 123.345.56.3:2222, for example.
Now, when I enter the IP, it forwards me to the URL of one of my users, let's say exampleurl.nl:2222, which still works, but I would just revert back to the IP method.
I'm not sure what happened, or why this is the case. I was trying to install Let'sEncrypt, when this occurred.

Thanks for reading, and for your help!
Alec
 
Some strange is then happend, normally it should forward you to your server hostname like srv1.domain.com.
You cant have LE with IP because you cant have an Certificate on IP address.
So if you want to use IP instead of your hostname then you also have to deactivate your hostname certificate along with forwarding
 
This actually occured when I was trying to install a certificate on the specific domain that now is forwarded to.
How do I deactivate the hostname certificate + forwarding?

Thanks a lot,
Alec
 
Last edited:
Check in:
/usr/local/directadmin/conf/directadmin.conf
if you got a setting in there starting with:
ssl_redirect_host=
even if it's empty. If yes, remove that line and restart directadmin.
 
Back
Top