Hi!
I have a server with an entire bunch of domains hosted on it, an I want them all to have webmail.xyz.com pointing to https://www.xyz.com/webmail
this is how far I am:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail\.(.*)
RewriteRule ^(.*)$ https://www.%0/webmail/ [R=301]
But it takes me to webmail.www.xyz.com instead. please help.