www. missing from domains
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
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Current DNS
example.com A {ip}
www.example.com CNAME {domain}
-
Hello, The "www" alias is setup by default when creating accounts, addon domain names, or aliases. As far as the forced redirection, here's a thread you may find helpful: Thank you. 0 -
I've changed the account domain in WHM wwwacctform but it does not seem to have updated when visiting example.com old Domain example.com
newDomain www.example.com0 -
I've changed the account domain in WHM wwwacctform but it does not seem to have updated when visiting example.com
If I understand this comment correctly, this is not the proper way to get what you want. You should set the account's domain back to the domain itself without the www. What is it you want to do here exactly? Force http with www?0
Please sign in to leave a comment.
Comments
3 comments