RewriteEngine on RewriteCond %{HTTP_HOST} ^7077.az [NC] RewriteRule ^(.*)$ https://saznomre.az/$1 [L,R=301,NC]