I have used Apache for serving websites on our servers for several years now, with a single public IP address.
To achieve this, I have always modified the HTTPD-VHOSTS.CONF file similar to below:-
For Domain 1:-
For Domain 2:-
The DNS for each domain was set to the single public IP address.
Then whenever you typed www.domain1.com it would serve the files in d:\htdocs\domain1 and if you typed www.domain2.com it would serve the files in d:\htdocs\domain2 etc.
I have now setup AMPPS and added the domains but it appears that the only way to get the files served would be to type:-
When I open the HTTPD-VHOSTS.CONF file it shows what I would expect:-
Options FollowSymLinks Indexes
allow from All
ScriptAlias /cgi-bin/ "d:/ampps/www/domain1/cgi-bin/"
CustomLog "D:/Ampps/apache/logs/www.domain1.com.log" combined
But if I type www.domain1.com I get the files in the root of www and NOT the files in the folder domain1.