title: .htaccess point specific domain home to internal page
body: <p>Okay...i am doing something kinda strange and out of the ordinary.  I will try to explain...</p>
  
  <p>I have several domain names pointed to the same root directory on my webserver.  I can access the entire website using any of the domain names (I know this is bad for SEO, but there are reasons).  Additionally, none of the "pages" really exist...as they are all being built dynamically...so i have some mod rewrite rules set up to point all incoming queries to view.php and passing in variables to generate the page content...anyway...</p>
  
  <p>What i want to do is set ONLY THE HOME PAGE of two of my domains to (invisibly) use content of an existing sub page.  Here is an example:</p>
  
  <p>These all are the same page:
  www.domain1.com/process/
  www.domain2.com/process/
  www.domain3.com/process/
  which is really doing something like:  view.php?page=process/</p>
  
  <p>I want this page to display for www.domain2.com (and still also be accessible at domain2.com/process)</p>
  
  <p>Essentially, there is a sub page of the site that i want to serve as the "HOME" page for domain2.com and domain3.com but if domain1.com should still use the default (index.php) HOME page.</p>
  
  <p>I am sure i will need to post clarifications to this once replies start coming in...but here is what i have at the moment:</p>
  
  <pre><code># special rules to set other domain names default homepage as specific internal page
  RewriteCond %{HTTP_HOST} ^www.domain2.com [NC]
  RewriteRule ^(.+)?$ /view.php?page=process/ [NC,L]
  </code></pre>
  
  <p>Currently this is sending ALL traffic to domain2.com to the "process/" page...so it is blocking out all other pages. I need to know how to have this rule ONLY apply to the base domain without any extra query string or url path.  The key is that i DO NOT want to affect other pages within the domain...so i shoudl still be able to browse the whole site using this domain name...i just get started on a different view.</p>