Web Hosting Talk







View Full Version : DNS lookup error Help needet..


mercury
12-18-2001, 09:15 AM
hi all,
anyone can tell me hwo to solve the following problem?
Have a server and all seems to work great but cannot acess domains on it using domain names e.g. www.domain.com (only using the IP) same story fo e-mail ( eror:host not valid)
I started apache and there was some strange erro:

[Tue Dec 18 07:41:30 2001] [warn] VirtualHost 66.78.41.196:80 overlaps with VirtualHost 66.78.41.196:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Dec 18 07:41:30 2001] [warn] NameVirtualHost 216.74.79.249:80 has no VirtualHosts

anyone has an idea what's going on?

Thanks

bitserve
12-18-2001, 04:09 PM
You can only host one virtual host per IP using IP based virtual hosting. If you want to use name based virtual hosting, to host more than one virtual host per IP, then you need to add a "NameVirtualHost" line for that IP, above the VirtualHost directives. Which seems to be what the message is telling you.

So add:

NameVirtual Host 66.78.41.196:80

The other message is just stating that you have a line like that for 216.74.79.249:80, but haven't entered any virtual hosts to use it.

Of course that may not be your only problem.