Here is my .htacess code
RewriteCond %{THE_REQUEST} \\h/test\\h RewriteCond %{REQUEST_URI} !^/test\\.php RewriteCond %{HTTP_HOST} ^([^\\.]+)\\.domain\\.com$ R