개발/troubleshooting
[AWS] httpd installed but apache default page is not displayed
하또또🍊
2023. 4. 6. 16:27
How to install apach on linux
1. connect to your EC2 instance.
2. install httpd and start the service.
sudo -s
yum install httpd -y
service httpd start
3. access EC2 instance public IPv4 address.
Nothing Display & Connect Error display
1. check if you access as http.
if you didn't take measure about https, cannot access as https.
2. restart httpd service
if you access http but still not displayed, let
service httpd restart
or
service httpd stop
service httpd start
now apache default page is displayed.
restart is magic!