How i redirect http://IP:2222 to https://HOSTNAME:2222 now because ssl_redirect_host is not working anymore.
cd /usr/local/directadmin/conf
perl -pi -e 's/ss1=0/ssl=1/' directadmin.conf
echo "carootcert=/usr/local/directadmin/conf/carootcert.pem" >> directadmin.conf
ssl_redirect_host=host.name.com
force_hostname=your.hostname.com
/etc/init.d/directadmin restart
The scrapbook isn't up to date anymore. I didn't know either but since 1.62.0 this is removed:From my scrap book:
force_hostname=your.hostname.com
because that will redirect -all- traffic.Aagh last fresh DA install was some time ago so its possibleThe scrapbook isn't up to date anymore. I didn't know either but since 1.62.0 this is removed:
My customers are all redirected to https://server.domain.com so they are all redirect to my server hostname instead of their domain.So with this in effect, your users can't use https://www.theirdomain.com:2222 anymore as that also will be redirected to the hostname. So that is not the setting needed.
Mine redirect to the same IP but is not secure of course.Try to use http://ip:2222 and see if you are redirected now.. my servers are not redirected.
The functionality was against RFC. The core of DA is being rebased and that kind of functionality is against the rules. It kind of requires patching the libs in use in order to allow sending custom stuff in plain text via SSL port. We encourage simply using the userdomain:2222 for the DA access, it's much more rememberable than IP address. With SNI included all the user valid certs get loaded to directadmin, so no ssl warning should be displayed.
Yeah I know, but in the welcome message they get the ip address so it was easier if they were then automatically redirected to the hostname.Their browser will show whatever they type.
+1Lately, they keep adding and deleting options, users can't get used to an interface that always changes...
Users should use hostname or a domain name to reach the panel. IP access is not recommended.
Yes we need to update the welcome templates.And again... the welcome message sends the users the http://ip.2222 link, so we should all adjust the welcome templates then I guess.