Use Mod_Rewrite to Rewrite ROOT to Another Path
A correct redirect of the root path is simply :
RewriteEngine OnRewriteRule ^/$ /page [R]
to force this only on one subdomain (which should barely happen if your rewrite block is in a virtualhost definition) :
RewriteEngine onRewriteCond %{HTTP_HOST} =subdomain.example.comRewriteRule ^/$ /page [R]
Copying my deleted response:
In htaccess of your documentroot simply:
RewriteEngine onRewriteCond %{HTTP_HOST} =subdomain.example.comRewriteRule ^$ /page
You have two options to rewrite your root to another path,
DirectoryIndex:
DirectoryIndex anotherPath
Mod-rewrite:
RewriteEngine onRewriteRule ^/?$ /anotherPath [L]
You can use one of the above options to internally redirect example.com/
to example.com/anotherPath
.
References: