EC2 Ubuntu Wordpress index.php 404 error

admin

Administrator
Staff member
I installed APM and wordpress on AWS EC2 by using Ubuntu and all the machines seem to be working well. But the 404 error occur when I try to access http://"myurl"/index.php

Below is my files in /etc/apache2/sites-available/*

000-default.conf
<a href=" " rel="nofollow noreferrer"><img src=" " alt="000-default.conf"></a>

default-ssl.conf
<a href=" " rel="nofollow noreferrer"><img src=" " alt="default-ssl.conf"></a>

And these are files and folders list in /var/www
<a href=" " rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CZwb0.png" alt="/var/www"></a>

I've also tried removing '/html' from DocumentRoot and made it to be "/var/www" but it's still not working.

I need you guys' help thanks!