Drupal 7 in AWS EC2, only INDEX is displaying

Hello guys!

I successfully installed my site in AWS EC2. I can see the interface. But the links are broken. Whenever I click any content or links in the website, it directs me to:


404 Not Found

Not Found

The requested URL /(directory)/(nodes) was not found on this server.

Apache/2.4.29 (Ubuntu) Server at (Server IP) Port 80


Why is this happening?

Drupal version: 

Source: https://www.drupal.org/taxonomy/term/1/feed