godaddy vps Linux
Processor type 2x Intel E5-2630L v2
4 GB memory
120 GB storage
Unmetered bandwidth
3 dedicated IPs
I found the problem in the .htaccess file
RewriteCond% {HTTP_HOST}! ^ Www \.
RewriteRule ^ (. *) $ Https: //www.% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]
RewriteCond% {HTTPS} off
RewriteRule ^ (. *) $ Https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]
Is there a code that works for redirecting to https: // www