title: how to deploy angular5 application to sub directory
body: <p>My angular application is hosted in server in which the application url is <a href="http://xyz.domain.in" rel="noreferrer">http://xyz.domain.in</a> (Example Url). Now I created sub directory inside it to host another application. But when i try to access the path like <a href="http://xyz.domain.in/subfolder" rel="noreferrer">http://xyz.domain.in/subfolder</a> , getting this in console.</p>
  
  <blockquote>
    <p>Error: Cannot match any routes. URL Segment: 'subfolder'</p>
  </blockquote>
  
  <p>Base href of the application in subfolder is</p>
  
  <pre><code>&lt;base href="./subfolder"&gt;
  </code></pre>
  
  <p>How to accomplish this?</p>