All of the domains under [List Accounts] in WHM link to the http version of the domain. How do I change WHM so that the domains link to the https version of each domain?
Hey there! That's a good question, although there is not a way to adjust that. Normally the https link is handled with redirection at the site level so the direct link wouldn't matter, but this would be a great feature request to get submitted using the link in my signature.
One option, if it's appropriate... you can force all of the sites on your server to use HTTPS, then when you click on the non-HTTPS link it would redirect automatically.
I accomplished this by creating ssl.conf at:
/etc/apache2/conf.d/userdata
Code:
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]