- Newest
- Most votes
- Most comments
Just to be sure, have you checked by typing from "http://" into your browser?
Sometimes, as is the case when using the open address of the Management Console, you are unintentionally accessing the site via https.
Hello.
Is Apache running on EC2?
If you are using Amazon Linux 2023, you can check whether Apache is running with the following command.
sudo systemctl status httpd
If it is not started, run the following command to start it.
Also, by running the "enable" command, you can configure Apache to start automatically even if you restart EC2.
sudo systemctl start httpd
sudo systemctl enable httpd
By the way, are you accessing the public IP address of EC2?
Have you ever accidentally accessed a private IP address?
Can you confirm that you are accessing it using the following in your browser?
http://ec2-public-ip
Apache is running, and I did the configurations. And yes, I'm accessing the public IP address and I'm not connecting.
Relevant content
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 19 days ago
Wowww... and just like that, it worked. Why I didn't think of that; I should've known that!
Thank you!