ODK dashboard redirects to Aggregate.html and unable to locate Aggregate.html

1. What is the issue? Please be detailed.
my web portal http://ipaddress/ODKAggregate/ redirects to Aggregate.html and I'm unable to login.
I have setted up it on AWS instance using ubuntu 20 and apache2 also installed tomcat8 and postgresql 16 is installed.
Please help me as it directly redirects and shows below error
image

2. What steps can we take to reproduce this issue?

3. What have you tried to fix the issue?

4. Upload any forms or screenshots you can share publicly below.

Please note that Central is now the ODK server and that Aggregate has not been supported since May 2021. Please see this post for more details:

Is there a reason you are trying to install Aggregate?

Hi, I have setted up ODK Aggregate on AWS EC2 instance but when the url is redirecting to aggregate.html and I'm unable to login.
At first it shows the redirecting page
and then the 404 error pops up.

Yes need to migrate the project on AWS Cloud