Environment:
Server: AWS EC2-WINDOWS 2012 R2
Web Server: Apache 2.4.17
The simple web application, is accessible from the server, using the browser with http://localhost/
and http://127.0.0.1/
However, when I try to access it from outside (e.g., client, or any other machine through internet) by placing my ec2 instance public DNS ('ec2-.compute.amazonaws.com') in the browser, I get the following
Now I know this is web server issue. EC2 security rules, and Windows Server firewall have been bypassed. The issue is coming from my Apache server settings.
I spent significant time trying all possible solutions here:
WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server
Forbidden: You don't have permission to access / on this server, WAMP Error
Error message “Forbidden You don't have permission to access / on this server”
You don't have permission to access / on this server
I did not create virtual host though. Do I need to?
My current httpd.conf
has the following settings:
<Directory "C:/wamp64/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
</Directory>
What could be the problem?