Config:
OS-> Win 7 x64
Wamp server versions-> wampserver2.2e - php5.4.3 - httpd-2.4.2 - mysql5.5.24
Skype is not installed. Port 80 is available.
hosts file has the lines->
127.0.0.1 localhost
::1 localhost
httpd.conf file has the required value `Require all granted` in #onlineoffline tag
Issue:
I need to put my server online (yes I understand the risks but this is a temporary thing that I need to do). I also understand that similar questions have been posted and I have gone through almost all of the them and their solutions (you will find out below).
Problem statement: Wamp icon is Green. Status shows as Online. Everything woks without any hassles using localhost. But the moment I use my public IP I get page cannot be displayed. I have checked the access logs and there doesnt seem to be any log for the time I attempt the access.
Solutions tried: (i guess everything)
- With router I have tried with port forwarding. I have also tried without using the router.
- Tried with Firewall enabled and disabled.
- Tried the "allow" lines.
- Tried install/remove/restart of Apache service
- Tried changing
localhost:80
to<ip>:80
- Tried multiple online/offline toggles
- Tried installing 32 bit variant of version 2.5
- Tried installing 64 but variant of version 2.5
- Tried playing with the spaces before the
Require all granted
code (from none to 2)
Note
Everything used to work in my previous installation of Windows. Post re-installing I can't remember for the life of me the settings I changed to get it to work. I had the backup but that I deleted the moment I saw the green icon (foolish me !). I must have read countless solutions but I'm currently stuck like this person (wamp server forum). Would really really appreciate if anyone could help me resolve this.
Additional info:
<Directory "c:/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride All
# onlineoffline tag - don't remove
Require all granted
</Directory>