It's a bad idea to add localhost in the url of launching projects. It is best to define VirtualHost inwamp/bin/apache/apache2.4.35/conf/extra/httpd-vhosts.conffile and not add localhost in the url.