My domains do not add www. to the beginning when visiting example.com. Is there an option in WHM to force domains to add it or do I need to add a DNS record / change the htaccess file?
Current htaccess to force HTTPS
Current DNS
Current htaccess to force HTTPS
Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Code:
example.com A {ip}
www.example.com CNAME {domain}