Ok,
So to make another VH that you can access from inside your network, but running the exact same code as the externally visible site, I would try something like this
--------Host File--------------
127.0.0.1 localhost
::1 localhost
127.0.0.1 opsuscredcap.ddns.net
::1 opsuscredcap.ddns.net
127.0.0.1 opsuscredcap.local
::1 opsuscredcap.local
And add another VH like this
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "C:/Wamp/www"
<Directory "C:/Wamp/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName opsuscredcap.ddns.net
ServerAlias www.opsuscredcap.ddns.net
DocumentRoot "C:/wamp/www/redcap"
<Directory "C:/wamp/www/redcap/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName opsuscredcap.local
ServerAlias www.opsuscredcap.local
DocumentRoot "C:/wamp/www/redcap"
<Directory "C:/wamp/www/redcap/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
Note the new VH is visible only internally `Require local`
and it uses the new `opsuscredcap.local` domain name
But it points to exactly that same DocumentRoot as the externally visible site.
---------------------------------------------------------------------------------------------
(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-