The requested URL was not found on this server. The link on the referring laravel code example Example: the requested url was not found on this server. laravel sudo a2enmod rewrite