I have a free AWS account and have set up a EC2 Virtual machine on Windows Server 2008 R2. I use RDP to access the VM.
I have set up XAMPP and deployed my PHP application in it. I can access it through localhost/myapp
but not using the public IP.
Here's what I have tried so far:
- Added Inbound rule for HTTP on port 80 in my Security group.
- Checked Inbound rules on Windows firewall for HTTP port 80. There were 3 of them and inactive. I activated all 3.
- Checked the port of Apache. Its running on 80.
But no help. What am I doing wrong?