alzander wrote: Resurrected by request
CNAME - Great, easy way, to redirect from www to your A-Record for the root domain (or vice versa)Do I need to add any CNAME settings or add a sub-domain if I continue with secure.mysite.com?
Good! That will work for all of your non-SSL traffic. For SSL requests to www though, the redirect will fail. The reason is that, to create the connection to your server and get the redirection in the first place, a proper SSL handshake must occur first. Until the SSL is working, the redirect will only work for non-SSL requests to www.mysite.com3. I already have a redirect setup in .htaaccess so that www.mysite.com traffic goes to mysite.com
I was incorrect and mis-spoke above. You should *not* use a CNAME for the www to non-www redirection. A CNAME is just like setting up a shortcut on your desktop. The URL will still show the site as www.mysite.com, but the underlying mysite.com will be shown. CNAMEs are good for things like RSS links and CDNs. For example:4. I already have CNAME record for www.mysite.com to go to mysite.com
See above. You should *only* have a redirect and not a CNAME.5. Do I need both a sub-domain set up for www.mysite.com set up as well as the CNAME record?
RewriteEngine On
RewriteCond %{HTTP_HOST} !^mysite\.com
RewriteCond %{HTTPS}s on(s)|
RewriteRule (.*) http%1://mysite.com/$1 [R=301,L]
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.