is there anyway to achieve this w/ .htaccess?
"sub1.domain1.com 14400 in CNAME sub2.domain2.com"
i have the following, but would like it to keep http://sub1.domain1.com/*...
"sub1.domain1.com 14400 in CNAME sub2.domain2.com"
i have the following, but would like it to keep http://sub1.domain1.com/*...
Code:
RewriteCond %{HTTP_HOST} ^(www\.)?sub1\.domain1\.com [NC] RewriteRule ^(.*)$ http://sub2.domain2.com/$1 [R,L]