RewriteEngine On RewriteCond %{HTTP_HOST} ^webmail\.reeksoft\.com$ [NC] RewriteRule ^(.*)$ https://reeksoft.com [R=302,L]