Hi,
You do not give us much information to help us help you! Did you reinstall Windows or just WAMPServer?
However here are some suggestions.
First this section of httpd.conf that you changed
<Directory />
AllowOverride none
# Require all denied
Require all granted
</Directory>
# onlineoffline tag - don't remove
# Require local
Require all granted
should not have been changed, so change it back to
<Directory />
AllowOverride none
Require all denied
</Directory>
# onlineoffline tag - don't remove
Require local
as your change will allow access to ALL THE DRIVE that Apache is installed onto !!!!
Access to your virtual host sites is controlled from httpd-vhosts.conf for all virtual hosts.
Now the Virtual Host definition controlling `localhost` should also NOT be accessible from the internet so change
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
# Require local
Require all granted
</Directory>
</VirtualHost>
TO
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
Now the other Virtual Hostsed sites should work so I would check your Firewall settings as that is the most likely thing that would block access from the internet.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-