title: How to route multiple domains to multiple subfolders
body: <p>I have a setup where I have a couple of sites hosted in different subfolders in the root of my FTP</p>
  <pre><code>
      ROOT
      -site1folder
      -site2folder
  <p></pre></code></p>
  <p>I have 2 domain names not associated with the account. I have changed the DNS records of the domains to point to my hosting account but I need the 2 different URLs to go to the correct subfolder to load the correct site rather than transfer the domains. The domains are</p>
  <ul>
  <li>www.site1.com</li>
  <li>www.site2.com</li>
  </ul>
  <p>Ideally I would like site1 to load the contents of the site1folder and the same for site 2 and its corresponding folder.</p>
  <p>I currently have a .htaccess file in my root which I have mashed together from looking at different posts. I am a newbie to .htaccess. I am currently trying to get site 1 to point to the site1 folder</p>
  <pre><code>
      Options +FollowSymLinks
      
      #Turns the rewrite engine on.
      RewriteEngine on
      
      #Fix missing trailing slash character on folders.
      RewriteRule ^([^.?]+[^.?/])$ $1/ [R,L]
      
      RewriteBase /website1
      #www.site1.co.uk and site1.co.uk will map to the folder
      
      RewriteCond %{HTTP:Host} ^(?:www\.)?site1\.co.uk
      RewriteRule (.*) /site1 [NC,L,NS]
  </code></pre>
  <p>
  What happens when I load this is I get the contents of the site1 folder but at this URL site1.co.uk/site1</p>
  <p>I don't want the URL to change at all. I just want it to load the contents of the subfolder it is pointed to.</p>