title: trouble deploying angular 8 frontend with php backend to bluehost VPS getting 404 error from API and 404 on reload of non index pages
body: <p>I built and angular 8 app with a php backend ( 7.3 ). I am trying to launch my site on bluehost. I set up the database ( MySql ), set the password, username etc. I put my folders in the public_html folder. Index.html loads but throws up a 404 for the api. Additionally, when I nav to another page then refresh, I also get a 404 error. Folder structure looks like:</p>
  
  <p>public_html/
  ( config.ini &amp; htaccess &amp; api_folder &amp; index.html ) </p>
  
  <p>The spa_folder has the index.html</p>
  
  <p>I tried a lot of solutions for the htaccess but nothing seems to be working. Whatever I try I get the 404 error on console for the API but the index page loads. </p>
  
  <p>I'm just kinda stuck and not sure where to investigate for a solution. Any help or ideas would be great. </p>