title: How does htaccess work when using cPanel and addon domains
body: <p>When you have cPanel hosting and you use addon domains, the domains are "housed" in a folder within the <code>public_html</code> folder (by default), for example:</p>
  
  <pre><code>A) public_html/.htaccess
  B) public_html/addondomain_1/.htaccess
  C) public_html/addondomain_2/.htaccess
  </code></pre>
  
  <p>It's my understanding that anything I put in the htaccess file A) applies to everything within it, which should include B) and C).</p>
  
  <p>So, as an example, adding a blocked IP address to A) would also be blocked on B) and C).</p>
  
  <p>But I query this purely because B) and C) are different domains when viewed in the browser. I've tried testing it but without much luck and going through pages of documentation hasn't helped me come to a conclusion.</p>
  
  <p>If I block someones IP in A) will it block them from websites B) and C)?</p>