Hi,
> I watched a tutorial in Linkedin that recommend to do that
Well, you have to go and ask the Linkedin person who wrote this tutorial why there is this error and how to fix it.
> independent url for your local virtualhost, instead of having just one for all your local virtualhosts
There also it will be necessary to explain to this person what is a VirtualHost.
The one and only VirtualHost delivered with Wampserver is "localhost" to which you access by 'http://localhost/' and which allows access to aliases like PhpMyAdmin or Adminer and that's all.
Any other CMS or web application or local site MUST be installed in its own VirtualHost.
See:
The need for Virtual Hostand
Wampserver 3 - Create or add a VirtualHostand
Why to create a VirtualHost BEFORE installing a CMS---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons