title: How to Redirect Domain to Directory .htaccess
body: <p>In a hosting I have two domains that respond to the same address. However, the main one is domain A that owns a website and domain B wants to redirect to a specific directory that has a project of a system on the same server through .htaccess.</p>
  
  <p>Ex: I can access the project through this address below
  www.exampleDomainA.com/project</p>
  
  <p>I want the domain below to point to the above directory.
  www.exampleDomainB.com</p>
  
  <p>How do I configure this in .htaccess?</p>
  
  <p>When accessing the website load normal
  www.exampleDomainA.com/</p>
  
  <p>When accessing www.exampleDomainB.com, load the directory that is in the directory www.exampleDomainA.com/project</p>