cancel
Showing results for 
Search instead for 
Did you mean: 

No CSS or JS of Production when moved to Virtual Machine

No CSS or JS of Production when moved to Virtual Machine

Hello,


I have installed Magento 2.1.x to take over development of a project. I installed a copy of our production server to a virtual machine, and it all seems to work well, all of our products show correctly, etc.

However, the CSS and JS of the production server do not load correctly. Of course I have cleared the cache, and in addition I have given permissions to the apache group, deployed and re-deployed static content, re-indexed after changing the URLs in the database, but no luck.

On the plain text homepage, I did inspect element and went to the path of the css files. They are in the correct directory and I don't understand why the site will not display them.

I've been working on this for several hours and cannot seem to find a solution online anywhere. Any help is appreciated!