Create rewriterules for different domains in htaccess file with WP multisite

If you wanted to target a specific domain then you need a condition (RewriteCond directive), preceding the RewriteRule that checks for the specific domain (Host: header). For example:

RewriteCond %{HTTP_HOST} ^domainb\.com [NC]
RewriteRule ^i-like-([a-zA-Z0-9-]+)/$ wp-content/themes/customtheme/custom-pages/ilike.php?like=$1 [L]

The HTTP_HOST server variable contains just the Host: header sent in the request.

Reference:
http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritecond