setting up wordpress on an amazon linux 2023 ec2 instance [closed]

i have setup the LAMP stack and downloaded wordpress. also, extracted the file, changed wp-config-sample.php to wp-config.php and alreadey placed wordpress in /var/www/html/ folder. buti am only gettong “Apache is working” when paste the ip of my instamce on the web browser.

ive tried to restart httpd but i’m not getting wordpress website