Not sure how to best write the following rules:
- All secure (HTTPS) traffic should redirect to https://secure.domain.com
- Non-secure requests to secure.domain.com should redirect to https://secure.domain.com
- All other non-secure requests should go to http://www.domain.com
- Lastly, all non-www requests should redirect to www, except the “secure” subdomain.
Try adding the following to your htaccess file in the root folder of your domain.