RewriteEngine On RewriteCond %{HTTPS} =off RewriteCond %{HTTP_HOST} =correo.miempresa.com RewriteRule ^(.*)$ https://correo.miempresa.com/ [R]