Hi, I am a new user of Virtualmin. I have recently completed a fresh installation of Virtualmin on AlmaLinux 9. I successfully installed and created Let’s Encrypt SSL certificates for both example. com and www.example. com, and I have set all requests to be redirected to the SSL site under Virtualmin → Web Configuration → Website Options. Everything is working as expected.
However, I have been struggling to find a clear solution online for permanently redirecting the domain from example. com to www. example.com. Is there a way to configure this within the Virtualmin or Webmin UI? Thank you in advance.
Failing that, another area that “might” be available (I don’t use Nginx with Virtualmin personally) would be under:
Website Configuration > Website Redirects
*** The first option actually indirectly configures a redirect on this page for Apache ***
Again, this is from a system that uses Apache NOT Nginx, though it’s possible the options are there and the system configures Nginx when it’s being used.