127.0.0.1 localhost ::1 localhostet dans le fichier wamp64/bin/apache/apache2.4.17/conf/extra/httpd-vhosts.conf
<VirtualHost *:80> ServerName localhost DocumentRoot c:/wamp64/www <Directory "c:/wamp64/www/"> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost>Ensuite, vous ajoutez le VirtualHost dans le fichier wamp64/bin/apache/apache2.4.17/conf/extra/httpd-vhosts.conf et le nom de domaine (ServerName) dans le fichier hosts :
127.0.0.1 localhost ::1 localhost 127.0.0.1 monsite ::1 monsiteet dans le fichier wamp64/bin/apache/apache2.4.17/conf/extra/httpd-vhosts.conf
<VirtualHost *:80> ServerName localhost DocumentRoot c:/wamp64/www <Directory "c:/wamp64/www/"> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> <VirtualHost *:80> ServerName monsite DocumentRoot c:/wamp64/www/monsite <Directory "c:/wamp64/www/monsite"> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost>