Hi, I want to redirect a subdomain to other subdomain. I have created a htaccess file with next rules:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mail.domain\.com
RewriteRule ^(.*) http://webmail.domain.com/$1 [R=301,L]
DirectoryIndex index.php index.htm index.html
IndexIgnore *
But it don't function.
Could you help me?
Thankx