Hello, I have two questions regarding cPanel.
First, I would like to force all subdomains (cpanel.domain.com, webmail.domain.com, etc.) to use https. I have the SSL certs setup through AutoSSL, and I can access the secure version by manually typing in https, but I would like to force this behavior for safety/security concerns. It seems like this can be done using WHM, but I don't actually have a good idea of what WHM (Web Host Manager) is. Is this the software that Heliohost uses to provide each user with their own cPanel login and individual customization? If so, do users have any access to this interface?
Next, I was having issues redirecting traffic pointed to the www. version of my domain name to the non-www. version. In cPanel, I have configured a redirect to match both www. and non-www. that points to the base domain name (https://example.com). However, this redirect only works for requests sent to http://www.example.com. Accessing https://www.example.com does not redirect to the non-www. version. I previously was self-hosting my site, and was able to accomplish this functionality through nginx redirect rules. Is there anything I am missing in setting up this redirect?
Thank you!