RewriteEngine / Cloak

Could someone please explain how I cloak the main-domain. I think this is the correct terminology.
I have a client that owns four domains. Three of which refer to their individual stallions and one that refers to their actual Horse Stud.
What they would like is for each of the stallions domains to point to their main Horse Stud web site, using the DOMAIN1 as the web address.

RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain3.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain3.com$
RewriteRule ^/?$ “http://www.domain1.com” [R=301,L]

RewriteCond %{HTTP_HOST} ^domain2.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain2.com$
RewriteRule ^/?$ “http://www.domain1.com” [R=301,L]

RewriteCond %{HTTP_HOST} ^www.domain1.com$
RewriteRule ^/?$ “http://www.main-domain.com.au/FOLDER123/index.html” [R=301,L]

RewriteCond %{HTTP_HOST} ^.$
RewriteRule ^(.
)$ “http://www.main-domain.com.au/FOLDER123/index.html$1” [R=301,L]

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.