I am using WAMP on Windows 10. I have 7 hosts including localhost listed in vhosts using 127.0.0.1 HostName, and a virtual host for each in httpd-vhosts.conf using <VirtualHost *.80> DocumentRoot "c:\wamp\www\HostName" ServerName HostName ServerAlias HostName </VirtualHost>. I can access the files for 4 of the 6 from localhost, but I am getting a DNS error for the other 2. I can't figure out why only 4 are working. I've checked the spelling. Any help appreciated.
↧