title: I am getting 404 error for css and js files after I installed magento
body: <p>I installed magento 2.4.2 on bluehost vps hosting, but I am getting the website as shown in figure <a href="https://i.stack.imgur.com/o1xk0.png" rel="nofollow noreferrer">1</a> I tried every solution I found online but non of them worked for me.</p>
  <p>Solutions I tried:</p>
  <p>1- changing the permission for pub/static dir.</p>
  <p>2- In app/etc/di.xml, find the virtualType name=”developerMaterialization” section and its item called name=”view_preprocessed”. I changed  Symlink with Copy in Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink.</p>
  <p>3- php bin/magento setup:static-content:deploy -f command</p>
  <p>4- RewriteEngine On, in /pub/static/.htaccess file</p>
  <p>5- set sign static files to No (dev/static/sign to 0)</p>
  <p>I wish someone can help</p>