Only the homepage works, all other pages return 404
Make sure mod_rewrite
module has been installed in Apache and been enabled to load.
See step 2 for info on how to do this here: https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04
Make sure the you allow changes in the .htaccess by enabling it in your site conf. See step 3: https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04
Your .htaccess
file may be mis-configured or missing: head over to Magento's download page: https://www.magentocommerce.com/download - download the relevant version and extract the .htaccess file to be placed in your Magento installation root.
Site works but not styles or scripts are loading
Make sure you have set the relevant permissions and ownership: See here for more info - http://devdocs.magento.com/guides/m1x/install/installer-privileges_before.html
Common solution: Try reindexing and flushing cache manually (in case the admin is too hard to navigate). Reindex via the command line: https://www.atwix.com/magento/process-magento-indexes-from-command-line/ Flush cache (via admin or command line): https://www.properhost.com/support/kb/23/How-To-Clear-The-Magento-Cache
Followed