4が
/index.html

/subdomain/www.abc.com/index.html
[C]が付いているので続いて下の行を見る。
5が
/subdomain/www.abc.com/index.html

/subdomain/abc.com/index.html
に書き換え、と言う感じと思われ。

鯖状況よくわからないけど
/ で /home/XXXX/public_html/ が読まれるとすると
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} aaaa\.net$
RewriteRule ^(.+) /net/$1

net/のしたにrewriteをoffの.htaccessだけでいいのかなぁ?
あとは自分で調べて。
mod_rewriteと正規表現と環境変数の辺りでしょうか。