Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

DNS server could not be found (1 reply)

$
0
0
Same issue here.
Localhost is working fine but none of the created virtual hosts cannot be accessed with the "Cannot find DNS" message.

The best thing is that I've encountered this issue while trying to use again one of the virtual hosts I've created a few months ago while developing some wordpress site, but when I tried to use it now it could not be accessed.

Since then I've reinstalled WAMP, double-checked all of the config files, windows hosts file, created several virtual hosts with different names and domains (test/test.com/www.test.whatever) but without any success.

My configuration:
Windows 10 64bit
WAMP 64bit 3.0.6
Apache 2.4.23
PHP 5.6.25
MySQL 5.7.14

WAMP icon is green

windows hosts file includes below lines for all of mine virtual hosts
127.0.0.1 test
::1 test

Localhost and phpMyAdmin are working without any error messages.

I use Avira antivirus and I disable it while editing windows hosts file. Also I don't use Skype or any other software that could take port 80.
Test log:
Your port 80 is actually used by :
Server: Apache/2.4.23 (Win64) PHP/5.6.25.

WAMP installation path - C:\wamp64\

virtual hosts definitions looks like this:

<VirtualHost *:80>
ServerName test
DocumentRoot "c:/wamp64/www/test"
<Directory "c:/wamp64/www/test/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>