I am working on magento 2.1.10
It is working fine on local server, each time I make any changes in CSS or add any custom modules the changes are online on frontend after I upgrade, content deploy and flush cache from terminal.
But I am trying to move this installation to other servers. Compressed the whole project and extracted on target server and also added database with all suitable changes, made changes in env.php for database connectivity.
Following things I have tried:
Remove cache and static content.
Now, when I run these commands for upgrade, content deploy and flush cache there is still no css or js loading on frontend.
I have also changed ownership of magento's root dir on server to the user from which I am logged in in CLI, added this user to appache's user group, again ran these commands in terminal still facing the same issues.
Is there anything that I am missing here?
I have tried to move it on 2 different servers but still CSS and JS are not loading.
Note: If I am installing a fresh magento on these servers then there are no issues on both these servers.