Hi,
For your local sites, you must use VirtualHost, as with all hosting providers.
See
The need for Virtual Host and
Wampserver 3 - Create or add a VirtualHost---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons