Richard G
Verified User
I found this in the help section.
However, if I use these both, on certain scripts de http referer is not correct anymore and they won't load.
If I use a user level Letsencrypt certificate, on visiting https://www.userdomain.com:2222 it will automatically redirect to https://server.myhostname.nl:2222 which I don't want.
Can it harm to delete both those lines so this won't happen and no redirect's are made?
echo "force_hostname=your.hostname.com" >> directadmin.conf
echo "ssl_redirect_host=your.hostname.com" >> directadmin.conf
However, if I use these both, on certain scripts de http referer is not correct anymore and they won't load.
If I use a user level Letsencrypt certificate, on visiting https://www.userdomain.com:2222 it will automatically redirect to https://server.myhostname.nl:2222 which I don't want.
Can it harm to delete both those lines so this won't happen and no redirect's are made?