title: redirect primary domain and support.example.com to https except all other subdomain
body: <p>I am creating wildcard subdomain for usernames and also i created SubDomain for support centre that support.example.com</p>
  
  <p>I have already installed SSL certificate on Primary Domain (example.com) and (support.example.com) and used following .htaccess for automatically redirection to https url.</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
  RewriteRule (.*) http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  
  RewriteCond %{HTTPS} off
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  </code></pre>
  
  <p>But all other wildcard subdomains for usernames created dynamically but they don't have SSL certificate. </p>
  
  <p>I want example.com and support.example.com to redirected to https and all other sub domains on http only.</p>
  
  <p>Can anyone tell me what changes i make in my htaccess :)</p>