This question already has an answer here:
CSS, scripts not loading, via pub/static/version1496086766/frontend/Magento/, but loading without version: pub/static/frontend/Magento/.. There is .htaccess file with rewrite rule, and sudo a2enmod rewrite - Module rewrite already enabled, and I have set AllowOverride: SSLOptions +StdEnvVars AllowOverride All
I have set up apache virtual host with webmin. This problem is coming after migration, I have copied the backup and db to another server. Website is working, but CSS is not loaded.